image0012

dtRecords = dtRecords.AsEnumerable().OrderBy(c => c.Field("Field0")).CopyToDataTable();

where dtRecords is a DataTable

Thanks and Regards,

Advertisements