Cyril,
I am curious, the OP is not speaking about a recordset, where you get this?
In my opinion is the answer from Ken the right one about the count.
Getting a datarow in a datatable is just
dim dr as datarow = dt.table(0).Rows(The position index)
By changing the position index you can go get any datarow you want.
(To confuse, there are in the strongly typed dataset against members to do
movenext and moveprevious with a datatable).
Cor
"Cyril Gupta" <no****@nospam.com> schreef in bericht
news:On**************@TK2MSFTNGP12.phx.gbl...
Hello,
In VB.Net there is no more a provision to move forwards and backwards in a
recordset. The most popular method is to retrieve the records in a
DataTable which exposes a DataRowCollection.
You can then access any record in the collection by its index.
Regards
Cyril Gupta