How to perform sorting on a table in ADO.NET?
Akhil Joshi
We can use sorting by using DataView ie. DataView dv =Dtobj; Gridview.datasource=Dv.sort;
DataView dv = dtEmployee.DefaultView;dv.Sort = "Salary desc";DataTable sortedDT = dv.ToTable();