Gets the value of the specified column as a Decimal
object.
Syntax
decimal GetDecimal( int ordinal )
Parameters
ordinal – an ordinal number indicating the column from which the value is obtained.
The numbering is zero-based.
Return Value
The value of the specified column.
Usage
-
No conversions are performed. Use this method to retrieve data from columns of type
decimal, numeric, smallmoney and
money.
-
Call AseDataReader.IsDBNull to check for null values before
calling this method.