Method GetOrdinal
GetOrdinal(String)
Returns index of a specified column name.
Declaration
int GetOrdinal(string columnName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | columnName | Name of a column. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Index of a column. |