Gets a value that indicates whether this
System.Data.Common.DbDataReader contains one or more rows.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides ReadOnly Property HasRows As Boolean
|
C# | |
---|
public override bool HasRows {get;}
|
C++/CLI | |
---|
public:
property bool HasRows {
bool get() override;
}
|
Property Value
true if the
System.Data.Common.DbDataReader contains one or more rows; otherwise false.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also