How to: Arbitrary sort order?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

I have a page that uses an asp:DataGrid tag that is populated by a
System.Data.DataSet object. Data is sorted by an "sort_value" field on the
data.

Until now, this page is just for the display of data. Data entry is handled
via a separate system.

What is the best ".net way" to add a "move up", "move down", "move first",
and "move last" button next to each data record and have this change written
back to the Database using the aforementioned "sort_value" field in the
underlying data?

Thanks for the help,

David
 
Back
Top