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