GetColumnIndex

Ruft den entsprechenden Spaltenindex ab.

Syntax

ASCII-Version
int getColumnIndex(const char* columnName) 
Unicode-Version
int getColumnIndex(const UnicodeString columnName) 

Parameter

  • Spaltenname

Ergebnisse

Gibt den entsprechenden Spaltenindex zurück.

Beispiel

ASCII-Version
int columnIndex = dataRow->getColumnIndex ("City"); 
Unicode-Version

Entspricht ASCII oder:

UnicodeString columnName="City"; // Or input unicode string
int columnIndex = dataRow->getColumnIndex (columnName);