Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited.
See Also: OdbcDataReader Members
While the System.Data.Odbc.OdbcDataReader is being used, the associated System.Data.Odbc.OdbcConnection is busy serving the System.Data.Odbc.OdbcDataReader, and no other operations can be performed on the System.Data.Odbc.OdbcConnection other than closing it. This is the case until the OdbcDataReader.Close method of the System.Data.Odbc.OdbcDataReader is called. For example, you cannot retrieve output parameters until after you call OdbcDataReader.Close.
Changes made to a result set by another process or thread while data is being read may be visible to the user of the System.Data.Odbc.OdbcDataReader. However, the precise behavior is both driver and timing dependent.
OdbcDataReader.IsClosed and OdbcDataReader.RecordsAffected are the only properties that you can call after the System.Data.Odbc.OdbcDataReader is closed. Sometimes, you must call OdbcDataReader.Close before you can call OdbcDataReader.RecordsAffected.