Mimer SQL Data Provider help
GetDecimal Method

Mimer.Data.Client Namespace > MimerDataReader Class : GetDecimal Method
The zero-based column ordinal position.
Gets the value of the specified column as a System.Decimal object.
Public Overrides NotOverridable Function GetDecimal( _
   ByVal i As Integer _
) As Decimal
public override decimal GetDecimal( 
   int i
public function GetDecimal( 
    i: Integer
): Currency; override; 
public override function GetDecimal( 
   i : int
) : decimal;
public: decimal GetDecimal( 
   int i
) override 


The zero-based column ordinal position.

Return Value

The value of the column as a System.Decimal object.
The underlying SQL data type cannot be converted to System.Decimal.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Supported SQL data types for the conversion are: any numeric or character type that can be converted to decimal.

Use the IsDBNull method to check for database null value before calling this method.


.NET Framework
Version 2.0 or later

See Also


MimerDataReader Class
MimerDataReader Members