How is it possible to change the displayed order of columns from a DataTable?
For example, dataTable \"dt\" contains two columns \"a\" and \"b\". I bind it to a Gr
yes you can do it in the front end. Something along these lines:
EDIT:
No front end you say? That's cool - I like a challenge:
gridView.AutoGenerateColumns = false;
gridView.Columns.Add(new BoundField { DataField = "b" });
gridView.Columns.Add(new BoundField { DataField = "a" });
(It's cool to assume C#3 these days isn't it?)