OleDbDataReader.GetChar(Int32) Method

Definition

Gets the value of the specified column as a character.

public:
 virtual char GetChar(int ordinal);
public char GetChar (int ordinal);
override this.GetChar : int -> char
Public Function GetChar (ordinal As Integer) As Char

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

The value of the specified column.

Exceptions

The specified cast is not valid.

Remarks

Not supported for System.Data.OleDb.

Applies to

See also