GetChildRows - Sorting them?
I am loading child rows from my child tables into a DataRow object like this:
Dim drSTDAgendaRows() As DataRow
Dim drForum As DataRow
drSTDAgendaRows = drForum.GetChildRows("ForumsSTDAgenda")
But now I would like to sort these child rows according to a specific field in the row.
These are the fields in my row
fieldIndex
fieldDescription
fieldSequence
I would like to display the descriptions in a grid, but by sorting it by 'fieldSequence'.
Any comments on how to do this?
- I can use the sort function of the grid control I suppose.
- But is there any way to do a sort on the datarows?
Maybe loading it in a datatable and doing a select on it?
Thanks very much.
Adri