Adsence750x90

Friday, March 28, 2008

Sorting DataTable in C#,ASP.NET - source code

Sorting DataTable in C#,ASP.NET


dt=datatable;

DataView objView=dt.DefaultView;
objView.Sort="Columnname DESC";
dt=objView.ToTable();

No comments: