SqlDataReader.HasRows Property

Definition

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

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

Property Value

Boolean

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

Applies to