Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting from a datatable
Message
From
24/10/2006 14:30:31
 
 
To
24/10/2006 04:52:30
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01164032
Message ID:
01164156
Views:
10
If your DataView (the DefaultView in this case), is sorted, then the table resulting from the ToTable() method will also be sorted.

~~Bonnie



>>The defaultview has a sort property...
>>
>>MyDataSet.Tables[0].DefaultView.Sort = "mysortcolumn";
>>
>>let me know if that works...
>
>...but from a datatable?
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform