Direct Access Dataset

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Guys,

I am after a way to directly access a value in a table in
a dataset. For example, if I want row 6, and column 3,
can I do something like:

DataSet1.Tables[0].Rows[6].Columns[3]


All documentation I've read requires the dataset to be
iterated, but this will add to the overhead.

Thanks,
Simon.
 
you can use the following:

DataSet1.Tables(0).Rows(6).Items(3)
or
DataSet1.Tables(0).Rows(6)(3)
 
Back
Top