GetColumnCount

列の数を取得します。

構文

int getColumnCount(DataTable* dataTable ) 

パラメータ

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

結果

列の数を返します。

// Assume that dataTable is given here int nColumnCount ;
nColumnCount = getColumnCount( dataTable ) ;