GetRowCount

この DataTable にある DataRow の数を取得します。

構文

int getRowCount(DataTable* dataTable) 

パラメータ

  • Datatable - この関数で操作する DataTable。

結果

この DataTable にある DataRow の数を返します。

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