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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDataReader Class
TdDataReader Members