GetColumnCount

Gets the number of columns in the DataTable.

Syntax

Function getColumnCount() As Integer 

Parameters

  • None

Results

Returns the number of columns.

Example

Dim nColumnCount As Integer 
nColumnCount = dataTable.getColumnCount()