GetByte method

Description

Gets the value of the specified column as a Byte.

Syntax

byte GetByte( int ordinal )

Parameters

ordinal: An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.

Return value

The value of the column.

Implements

IDataRecord.GetByte

Usage

No conversions are performed. Use this method to retrieve data from columns of type tinyint.