DB2DataReader.HasRows Property

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

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


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

Property value

true if the DB2®DataReader contains one or more rows; otherwise false.