IDataRecord.GetData(Int32) Method

Definition

Returns an IDataReader for the specified column ordinal.

public System.Data.IDataReader GetData(int i);

Parameters

i
Int32

The index of the field to find.

Returns

The IDataReader for the specified column ordinal.

Exceptions

The index passed was outside the range of 0 through FieldCount.

Applies to