Get

Gets the value from the field array by the column name in this DataRow.

Syntax

public String get(String columnName) 

Parameters

  • Name—name with which the specified value is to be associated

Results

Returns the value for the column name in this DataRow; returns empty string if the column name does not exist.

Example

String value = dataRow.get("City");