GetDecimal method

Description

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.

Implements

IDataRecord.GetDecimal

Usage

See also

“IsDBNull method”.