SqlDataReader.HasRows Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur qui indique si les SqlDataReader lignes contiennent une ou plusieurs lignes.
public:
property bool HasRows { bool get(); };
public:
virtual property bool HasRows { bool get(); };
public bool HasRows { get; }
public override bool HasRows { get; }
member this.HasRows : bool
Public ReadOnly Property HasRows As Boolean
Public Overrides ReadOnly Property HasRows As Boolean
Valeur de propriété
true si la SqlDataReader valeur contient une ou plusieurs lignes ; sinon false.