GetByIndex

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

Syntax

ASCII Version
const char* getByIndex(DataRow* dataRow, int index) 
Unicode Version
const UChar* getByIndex(DataRow* dataRow, int index) 

Parameter

  • Datarow - the DataRow to which this function applies
  • 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
char* value = getByIndex( dataRow, 0); 
Unicode Version
UChar* value = getByIndex( dataRow, 0);