Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop Until End of Records
Message
De
16/03/2004 12:31:39
 
 
À
16/03/2004 12:20:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00886713
Message ID:
00886755
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I don't have a table defined though. I have a connection, adapter, dataset, and dataview.

A DataTable is part of the DataSet and a DataView is simply a subset of a DataTable. So, if you want to use the DataView, you'd probably do something like this:
Dim i As Integer
For i = 0 To MyView.Count - 1
   ' code you need to mess with each row: MyView(i).Row
Next i
-or-
Dim row As DataRowView
For Each row In  MyView
    ' code you need to mess with each row: row.Row
Next row
Does that help?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform