GetName(int) Method

Syntax:

public string GetName(int ordinal)

Description:

Gets the name of the column

Parameters:

ordinal

Type: System.Int32

The zero-base column ordinal

Return Value:

Type: System.String

The name of the specified column.

Exceptions:

Exception Condition
InvalidOperationException The RdmDataReader is closed.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.GetName