SqlDataReader.HasRows Propriété

Définition

Obtient une valeur qui indique si SqlDataReader contient une ou plusieurs lignes.

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

Valeur de propriété

true si le SqlDataReader contient une ou plusieurs lignes ; sinon, false.

S’applique à

Voir aussi