VB DataTable Sort [ VB .Net Tutorial ]

added by pons_saravanan
2/10/2010 3:11:36 AM

0 Kicks, 214 Views

When there is a need of sorting rows in a DataTable, there is no direct support available in DataTable. There is no direct way to get the sorted records into a DataTable out of the box. There are few ways to sort the data in the DataTable but that needs a few lines of code that I would like to discuss here. We have already discused how to sort a records in Gridview using DataView