Edit

Kongsi melalui


DbDataReader.GetData(Int32) Method

Definition

Returns a nested data reader for the requested column.

public:
 System::Data::Common::DbDataReader ^ GetData(int ordinal);
public System.Data.Common.DbDataReader GetData (int ordinal);
member this.GetData : int -> System.Data.Common.DbDataReader
Public Function GetData (ordinal As Integer) As DbDataReader

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

A data reader.

Exceptions

The column index is out of range.

Applies to

See also