GetColumnCount

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

構文

public int getColumnCount() 

パラメータ

  • なし

結果

列の数を返します。

int columnCount = dataTable.getColumnCount();