About DataTable sort RRS feed

  • Question

  • How can i get a sorted DataTable in .Net 1.1?

    Tuesday, June 26, 2007 1:12 AM


  • When you get data from the database you could use SELECT SQL statement with ORDER BY clause. It will sort data for you.

    You could also create DataView that will have sorted representation of the DataTable. This approach does not require database server resources to sort the data

    Tuesday, June 26, 2007 10:49 AM