SqlDataReader.HasRows Właściwość

Definicja

Pobiera wartość wskazującą, czy zawiera SqlDataReader jeden lub więcej wierszy.

public:
 virtual property bool HasRows { bool get(); };
public:
 property bool HasRows { bool get(); };
public override bool HasRows { get; }
public bool HasRows { get; }
member this.HasRows : bool
Public Overrides ReadOnly Property HasRows As Boolean
Public ReadOnly Property HasRows As Boolean

Wartość właściwości

true jeśli element SqlDataReader zawiera co najmniej jeden wiersz; w przeciwnym razie false.

Dotyczy

Zobacz też