Mono Class Library: System.Data.IDataReader Overview | Members

System.Data.IDataReader.Read Method

Read the next result [Edit]

public bool Read ()

Returns

true if a valid record was read by this invocation of Read() [Edit]

Remarks

This method allows a nice idiom:
C# Example
while (SomeDataReader.Read()) {
  //do something with the data from this row.
}
  
[Edit]

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0