Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting a DataSet
Message
From
23/10/2003 12:35:30
 
 
To
23/10/2003 12:33:10
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00841585
Message ID:
00841657
Views:
32
>Well, I wouldn't use DataTable.Select, but I suppose you could. Do something like this to use a View:
>
>// create your view either this way:
>DataView dv = loData.Tables["MyTable"].DefaultView;
>
>// or this way:
>DataView dv = new DataView(loData.Tables["MyTable"]);
>
>//then set the Sort property
>dv.Sort = "MySortField";
>
Well, that is interesting. Thanks for your help
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform