Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting a DataSet
Message
De
23/10/2003 12:45:33
 
 
À
23/10/2003 12:35:30
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00841585
Message ID:
00841667
Vues:
24
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform