Send feedback on this topic.
Teradata.Client.Provider
HasRows Property



Teradata.Client.Provider Namespace > TdDataReader Class : HasRows Property
Gets a value indicating whether the TdDataReader contains one or more rows.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property HasRows As Boolean
'Usage
 
Dim instance As TdDataReader
Dim value As Boolean
 
value = instance.HasRows
public override bool HasRows {get;}
public:
property bool HasRows {
   bool get() override;
}

Property Value

true if the TdDataReader contains one or more rows, otherwise it is false.
Exceptions
ExceptionDescription
The TdDataReader is closed.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDataReader Class
TdDataReader Members