Thursday, January 14, 2010

Get the sorted table from the DataTable


sourceTable.DefaultView.Sort="columnName ASC";

DataTable sortedTable=sourceTable.DefaultView.ToTable();

No comments: