D Daniel Junges Jun 22, 2006 #2 use with a DataView DataView dv = new DataView(); dv.Table = myDataSet.MyTable; dv.Sort = "myColumnName"; // the column to be sorted myDatagrid.DataSource = dv;
use with a DataView DataView dv = new DataView(); dv.Table = myDataSet.MyTable; dv.Sort = "myColumnName"; // the column to be sorted myDatagrid.DataSource = dv;
A ad Jun 28, 2006 #3 But if the datasource of my GridView is from a ObjectDataSource. How can I specify the sort column?