View Single Post
  #2 (permalink)  
Old March 20th, 2005, 07:00 PM
Thearon's Avatar
Thearon Thearon is offline
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Another reader had a similar problem and was using Visual Studio 2002 as I expect you are. All of the code in the book was written using Visual Studio 2003.

However, to resolve this problem, all you need to do is to remove the If statement that checks the HasRows property of the DataReader.

Thearon
Reply With Quote