OleDbDataReader.GetData(Int32) Method

Definition

Returns an OleDbDataReader object for the requested column ordinal.

public:
 System::Data::OleDb::OleDbDataReader ^ GetData(int ordinal);
public System.Data.OleDb.OleDbDataReader GetData (int ordinal);
override this.GetData : int -> System.Data.OleDb.OleDbDataReader
Public Function GetData (ordinal As Integer) As OleDbDataReader

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

Remarks

The Fill will call GetData if the provider returns a IDataReader that has a column that supports IDataReader.

Applies to

See also