Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting a DataSet
Message
From
23/10/2003 12:45:33
 
 
To
23/10/2003 12:35:30
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00841585
Message ID:
00841667
Views:
23
>>Well, that is interesting. Thanks for your help<

No problem ... you're welcome. =)


>>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform