Lets say, I have NameColumn, IDColumn, DOBColumn in an ultragrid. Manually, I drag and drop the columns to different positions in ultragrid.
DataTable dt = ultragrid.DataSource as DataTable;
When I checked the datasource, column names is in the same…