Hi;
I am able to display the data from DB2 database in a DataGrid on a WebForm. But, I just can't figure out how to sort the data on the form. I did look in the MSDN library but it didn't help me much.
I did go to the "Property builder" of the datagrid and turned on the "Sorting Behavior" and I have put the "Sorting Expression" in the property builder also. But I think we need to put some code also to be able to sort the data during the run time.
So, could someone please let me know, what code I need to put to be able to sort the data?

thanks in advance