|
-
Oct 14th, 2002, 09:50 AM
#1
Thread Starter
Member
Sorting Data in DataGrid
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|