IDataRecord.GetData(Int32) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an IDataReader for the specified column ordinal.
public:
 System::Data::IDataReader ^ GetData(int i);
	public System.Data.IDataReader GetData(int i);
	abstract member GetData : int -> System.Data.IDataReader
	Public Function GetData (i As Integer) As IDataReader
	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.