GetColumnCountFromRow

Gets the number of columns.

Syntax

int	 getColumnCountFromRow(DataRow* dataRow ) 

Parameter

  • Datarow - the DataRow to which this function applies

Results

Returns the number of columns.

Example

//Assume that the dataRow is given here
int nColumnCount ;
nColumnCount = getColumnCountFromRow (dataRow );