Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loop Until End of Records
Message
From
16/03/2004 12:31:39
 
 
To
16/03/2004 12:20:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00886713
Message ID:
00886755
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform