Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IDataReader Properties

IDataReader Properties

The IDataReader type exposes the following members.

Public property Depth Gets a value indicating the depth of nesting for the current row.
Public property FieldCount Gets the number of columns in the current row. (Inherited from IDataRecord.)
Public property IsClosed Gets a value indicating whether the data reader is closed.
Public property Item[Int32] Gets the column located at the specified index. (Inherited from IDataRecord.)
Public property Item[String] Gets the column with the specified name. (Inherited from IDataRecord.)
Public property RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

Community Additions

© 2015 Microsoft