Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Viewing sorted rows in dataview
Message
 
À
22/07/2005 12:11:17
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
Database:
MS SQL Server
Divers
Thread ID:
01035153
Message ID:
01035202
Vues:
16
Have you tried using a DataRowView rather than a DataRow?

>Anybody know why these records aren't sorted when they go through the MessageBoxes?
>
>
> Dim ModelDV As DataView
> ModelDV = New DataView(ds1.Tables("detail"))
> ModelDV.Sort = "Gauge, WColor, HighTemp, JobName11, PartName, Model_No"
>
>
> Dim row As DataRow
> For Each row In ModelDV.Table.Rows
> MsgBox(row("PartName"))
> Next
>
>Thanks...
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform