Method GetColumnIndex
GetColumnIndex(string)
Gets the index of the column with the specified name/label.
public int GetColumnIndex(string columnName)
Parameters
columnNamestringThe column to lookup.
Returns
- int
The zero-based index of the column if found, otherwise -1.