IDataReader and OleDbDataReader...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Whats the best way to check and see if the IDataReader Has Rows since it
doesn't support HasRows like the other DataReaders?

Thanks ahead of time,

Mike
 
Read will return false if the IDataReader doesn't have any rows.
Unfortunately IDataReader doesn't provide another method to do this.

Italo
 

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