System.Data.SqlClient Namespace SqlDataReader Class
Returns the SQLMoney value of the specified column.
[ VB ]
NotOverridable Public Function GetSQLMoney ( _
ByVal index As Integer _
) As SQLMoney
[ C# ]
public SQLMoney GetSQLMoney (
int index
);
[ C++ ]
public: __sealed SQLMoney GetSQLMoney (
int index
);
[ JScript ]
public function GetSQLMoney (
index : int
) : SQLMoney
- index
- The zero-based column ordinal.
An SQLMoney.
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.
SqlDataReader Members