Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i get the datatable data order by ItemCode?
Message
De
18/05/2012 04:39:36
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How can i get the datatable data order by ItemCode?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01543801
Message ID:
01543801
Vues:
73
Hi all,
I use vb.net and dataset, datatable.
I have 4 reocrds, ItemCode is CR07
CR09
CR07
CR09

I want to sort by ItemCode first, after get the data.
I already try the below code,but can't to do it.
How can i do, Thank you ?
    Ds.TempTable.DefaultView.Sort = "ItemCode"
    For i = 0 To Ds.TempTable.Count - 1
Ds.TempTable.Rows(i).Item("Itemcode")

next


But output same, why?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform