OdbcDataReader.HasRows 属性

定义

获取一个值,该值指示 OdbcDataReader 是否包含一行还是多行。

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

属性值

如果 OdbcDataReader 包含一行或多行,则为 true;否则为 false

适用于

另请参阅