Bagikan melalui


OleDbDataReader.HasRows Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah OleDbDataReader berisi satu atau beberapa baris.

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

Nilai Properti

trueOleDbDataReader jika berisi satu atau beberapa baris; jika tidakfalse.

Berlaku untuk

Lihat juga