Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasRows Property

OleDbDataReader.HasRows Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets a value indicating whether the OleDbDataReader contains one or more rows.

[Visual Basic]
Public ReadOnly Property HasRows As Boolean
public bool HasRows {get;}
public: __property bool get_HasRows();
public function get HasRows() : Boolean;

Property Value

true if the OleDbDataReader contains one or more rows; otherwise false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OleDbDataReader Class | OleDbDataReader Members | System.Data.OleDb Namespace

© 2015 Microsoft