HasRows Property
Syntax:
public bool HasRows { get; }
Description:
Type: System.Boolean
Indicates whether there are rows in the data reader.
Exceptions:
| Exception | Condition |
|---|---|
| InvalidOperationException | The data reader is invalid. |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.HasRows