Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: DataTable navigation?


Message #1 by "Mingkun Goh" <mangokun@h...> on Sun, 10 Nov 2002 08:55:14
Maybe this will work:
Dim workTable As DataTable = New DataTable("Customers")

Dim I As Integer

Dim myRow As DataRow

For Each myRow In workTable.Rows()
  Console.WriteLine("CustID = " & myRow("CustID").ToString())
Next


Previous message:
> Hi:

> I'm trying to navigate through a DataTable object and I'm not seeing any 
w> ay to do it.

> Is the only way to iterate straight through it from the beginning? Is 
t> here no equivalent to MoveNext or MovePrevious, etc?

  Return to Index