DataSet sorting DataSet sorting asp.net asp.net

DataSet sorting


you can still access the DataTable from the the data set as follows,

ds.Tables[0].DefaultView.Sort =" criterian";

Hope this helps.


Access the DataTable from the the DataSet as follows,

ds.Tables[0].DefaultView.Sort = "SortField DESC"; 

Hope this helps.