DataReader.HasRows

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2003/7/28/datareaderhasrows.html
Published Monday, July 28, 2003 3:04 PM by RoyOsherove
Filed under:

Comments

Wednesday, March 24, 2004 12:39 PM by Armando

# re: DataReader.HasRows

I have changed my framework version to 1.1 but it's the same, the HasRows propiety does not exist.
Any comment about it.
Monday, May 31, 2004 2:46 AM by Justin Zimmer

# re: DataReader.HasRows

Uninstall the 1.0 Framework.. I had this problem and this fixed it
Monday, July 05, 2004 11:56 AM by Tony

# re: DataReader.HasRows

One thing to keep in mind. The .HasRows method is not declared in the interface IDataReader. So, if you've set up an object factory that has a return type as IDataReader, you will have to explicitly cast the returned reader to a reader type such as SqlClient.SqlDataReader or other that supports the .HasRows method, in order to be able to use it.

Unfortunately, the Oracle client for .NET does not yet support this method. =(