View Single Post
  #1 (permalink)  
Old March 20th, 2005, 05:24 PM
mmcdonal mmcdonal is offline
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default Another problem... Chapter 5

I typed in the following code according to the example on Page 104:

Dim objDataReader As OleDbDataReader
...
If objDataREader.HasRows Then
...

   I get an error on .HasRows: "'HasRows' in not a member of 'System.Data.OleDb.OleDbDataReader'."

   This is the second example in the book I can't get to work using the code as printed in the book.

Please help. Is there Errata? What can I check to fix this?



mmcdonal
__________________
mmcdonal

Look it up at: http://wrox.books24x7.com
Reply With Quote