Get

Gets the value from the fields array by the column name in this DataRow

Syntax

ASCII Version
const char* get(const char* columnName) 
Unicode Version
const UnicodeString get(const UnicodeString columnName) 

Parameters

  • Name with which the specified value is to be associated

Results

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

Example

ASCII Version
const char* value = dataRow->get("City"); 
Unicode Version

Same as ASCII, or:

UnicodeString columnName="City"; // Or input unicode string
const UnicodeString value = dataRow->get(columnName);