System.Data.DataTableReader.GetByte Method

Gets the value of the specified column as a byte.

Syntax

public override byte GetByte (int i)

Parameters

i
Documentation for this section has not yet been entered.

Returns

The value of the specified column.

Remarks

No conversions are performed; therefore the data retrieved must already be a byte or coercible to a byte.

Call DataTableReader.IsDBNull(int) to see if there are null values before calling this method.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0