Get

Gets the value from the fields array by the column index in this DataRow.

Syntax

ASCII Version
const char* get(int index) 
Unicode Version
const UnicodeString get(int index) 

Parameters

  • Index with which the specified value is to be associated

Results

Returns the value for the column index in the DataRow, returns empty string if the index in invalid.

Example

ASCII Version
const char* value = dataRow->get(1); 
Unicode Version
const UnicodeString value = dataRow->get(1);