Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SADataReader class

GetBytes method Next Page

GetChar method

Returns the value of the specified column as a character.


Visual Basic

Public Overrides Function GetChar( _
ByVal ordinal As Integer _
) As Char


public override char GetChar(
int ordinal

Return value

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.

See also