GetColumnIndex

Gets the corresponding column index.

Syntax

public int getColumnIndex(String columnName) 

Parameters

  • Name - column name

Results

Returns the corresponding column index.

Example

int columnIndex = dataRow.getColumnIndex("City");