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