GetRowCount

Gets the number of the DataRows in this DataTable.

Syntax

int getRowCount(DataTable* dataTable) 

Parameter

  • Datatable - the DataTable to which this function applies

Results

Returns the number of the DataRows in this DataTable.

Example

// Assume that dataTable is given here int nRowCount ;
nRowCount = getRowCount( dataTable);