ResultSet.getReal(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the value of a column in the current row as a value of the type real.
public:
virtual System::Decimal getReal(int _ColumnID);
public virtual decimal getReal (int _ColumnID);
abstract member getReal : int -> decimal
override this.getReal : int -> decimal
Public Overridable Function getReal (_ColumnID As Integer) As Decimal
Parameters
- _ColumnID
- Int32
The ID of the column. The first column is 1, the second is 2, and so on.
Returns
Remarks
The following example demonstrates the getReal method.
while ( R.next() )
{
print R.getReal(3);
}