SqlDataReader.HasRows Свойство
Определение
Получает значение, указывающее, содержит ли объект SqlDataReader одну или несколько строк.Gets a value that indicates whether the SqlDataReader contains one or more rows.
public:
property bool HasRows { bool get(); };
public bool HasRows { get; }
member this.HasRows : bool
Public ReadOnly Property HasRows As Boolean
Значение свойства
Значение true
, если объект SqlDataReader содержит одну или несколько строк; в противном случае — значение false
.true
if the SqlDataReader contains one or more rows; otherwise false
.