Parameters
- i
- The zero-based column ordinal position.
Return Value
The value of the column as a System.Decimal object.
| Exception | Description |
|---|---|
| System.InvalidCastException | The underlying SQL data type cannot be converted to System.Decimal. |
| System.InvalidOperationException | The MimerDataReader is not positioned on a row. |
| System.IndexOutOfRangeException | The column ordinal is outside the valid range. |
Use the IsDBNull method to check for database null value before calling this method.
.NET Framework
Version 4.6.2 or later