MySqlDataReader.GetDecimal Method (String)

MySQL Connector/Net

MySqlDataReaderGetDecimal Method (String)
Gets the value of the specified column as a Decimal object.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public decimal GetDecimal(
	string column
)
Public Function GetDecimal ( 
	column As String
) As Decimal
public:
Decimal GetDecimal(
	String^ column
)
member GetDecimal : 
        column : string -> decimal 

Parameters

column
Type: SystemString
The column name

Return Value

Type: Decimal
The value of the specified column.
Remarks

No conversions are performed; therefore, the data retrieved must already be a Decimal object.

Call IsDBNull to check for null values before calling this method.

See Also