Parameters
- i
- The zero-based column ordinal position.
Return Value
The value of the column as a System.DateOnly object.
Exception | Description |
---|---|
System.InvalidCastException | The underlying SQL data type cannot be converted to System.DateOnly. |
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
Version 6.0 or later