Returns the value of the specified column as a character.
Visual Basic
Public Overrides Function GetChar( _
ByVal ordinal As Integer _
) As Char
C#
public override char GetChar(
int ordinal
);
ordinal An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.
The value of the column.
No conversions are performed, so the data retrieved must already be a character.
Call the SADataReader.IsDBNull method to check for null values before calling this method.