Επεξεργασία

Κοινή χρήση μέσω


SqlDataReader.HasRows Property

Definition

Gets a value that indicates whether the SqlDataReader contains one or more rows.

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

Property Value

true if the SqlDataReader contains one or more rows; otherwise false.

Applies to

See also