DbDataReader Properties
.NET Framework 4
The DbDataReader type exposes the following members.
| Name | Description | |
|---|---|---|
|
Depth | Gets a value indicating the depth of nesting for the current row. |
|
FieldCount | Gets the number of columns in the current row. |
|
HasRows | Gets a value that indicates whether this DbDataReader contains one or more rows. |
|
IsClosed | Gets a value indicating whether the DbDataReader is closed. |
|
Item[Int32] | Gets the value of the specified column as an instance of Object. |
|
Item[String] | Gets the value of the specified column as an instance of Object. |
|
RecordsAffected | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
|
VisibleFieldCount | Gets the number of fields in the DbDataReader that are not hidden. |