Array Fill

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Trying to fill a 2 dimensional array with fields from a dataset. Here's the
code:

Using rdr As DataTableReader = Me.ScoresDataSet.CreateDataReader()
Dim intDateOrdinal, intDiffOrdinal As Integer

Dim lng As Long = 0

Dim arDate() As String

intDateOrdinal = rdr.GetOrdinal("date")

intDiffOrdinal = rdr.GetOrdinal("Differential")

While rdr.Read()

'''''''''What goes here???????

End While

End Using

Any help is appreciated?

Thanks Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top