DataGrid, how to determine which column is being sorted on

  • Thread starter Thread starter paul
  • Start date Start date
P

paul

Hi,

I've a DataGrid and a DataSet (not a DataView) as the DataSource.
Users can click on column headers and sort the contents of the DataGrid.
I want to know how to determine which column is being used to order the sorted data.
I can't see in the microsoft DataGrid in vb.net the Event 'SortCommand'.
I think that its because I'm using vb.net not asp.

Thanks in advance.
 
I have the same quesiton and this was the first place I looked. I see using
the bindingmanagerbase to do this, but I don't know where to put this. What
event is it when the user sorts? I want this to fire automatically after
the sort occurs, but I'm not sure where to stick the code that is on this
link to reference that row.

Thanks,
Ben
 
Back
Top