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

Click here to load this message in the networking platform