The DataReader interface provides the Read method which moves forward
through the result cursor, but this is a forward only cursor. Using the
DataTable/DataView you have random access the rows using an indexer on the
Rows property or you can process each row using the foreach statement.
Mr. do you mean that I can check the limits of my DataTable for the count
property of the Rows collection for up limit and Rows[0] for the low limit .
?
Yes, when using DataSet and DataTable you are working with disconnected data
ie. you are no longer referencing the original datasource. This is very much
like the previous ADO disconnected recordsets.
Regards
Chris Taylor
Frank said:
Mr. do you mean that I can check the limits of my DataTable for the count
property of the Rows collection for up limit and Rows[0] for the low limit ..
?
Best regard
Chris Taylor said:
Hi,
The DataReader interface provides the Read method which moves forward
through the result cursor, but this is a forward only cursor. Using the
DataTable/DataView you have random access the rows using an indexer on the
Rows property or you can process each row using the foreach statement.
Yes, when using DataSet and DataTable you are working with disconnected data
ie. you are no longer referencing the original datasource. This is very much
like the previous ADO disconnected recordsets.
Regards
Chris Taylor
Frank said:
Mr. do you mean that I can check the limits of my DataTable for the count
property of the Rows collection for up limit and Rows[0] for the low
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.