Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find which column the user is sorting in Grid
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00841596
Message ID:
00842428
Views:
13
Hi Brian,

One idea is the bind the DataGrid to a DataView isntead of a DataTable. The Sort property of the DataView will get updated.

>How can I tell which column or bound field in a datagrid the user is currently sorting on in vb.net?
>
>I have a grid with multiple columns. a text above the grid will be used to search the
>grid on the current sort column. Sounds good but I can't find a way to determine the current sort column.
>
>Any sugestions would be greatly apreciated.
>
>Brian G
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform