Item[int] Property
Syntax:
public Object this[int ordinal] { get; }
Description:
Type: System.Object
Gets the value of the specified column in the current row as an instance of Object
Parameters:
ordinal
Type: System.Int32
Specifies the zero-based column to return.
Exceptions:
Exception | Condition |
---|---|
InvalidOperationException | The RdmDataReader is closed or there is no current row. |
IndexOutOfRangeException | The ordinal provided is outside the range of 0 through FieldCount - 1 |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.Item[Int32]