GetColumnIndex
Gets the corresponding column index.
Syntax
public int getColumnIndex(String columnName)
Parameters
- Column name
Results
Returns the corresponding column index.
Example
int columnIndex = dataTable.getColumnIndex("City");
Gets the corresponding column index.
public int getColumnIndex(String columnName)
Returns the corresponding column index.
int columnIndex = dataTable.getColumnIndex("City");