GetColumnCount

Gets the number of columns.

Syntax

int getColumnCount() 

Parameter

None.

Results

Returns the number of columns.

Example

int columnCount = dataTable->getColumnCount ();