SqlCeDataReader.GetValue Method
Visual Studio 2010
Gets the value of the column at the specified ordinal in its native format.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
[SecurityTreatAsSafeAttribute] [SecurityCriticalAttribute] public override Object GetValue( int ordinal )
Parameters
- ordinal
- Type: System.Int32
The zero-based column ordinal.
Implements
IDataRecord.GetValue(Int32)| Exception | Condition |
|---|---|
| InvalidOperationException |
The operation is not valid. The SqlCeDataReader may be positioned after the last row in the result set. |