Returns the number of columns in the datatable.

Syntax

Smartsite SXML CopyCode image Copy Code
integer datatable.columns.count(datatable dataTable)

Parameters

Name Data Type Description
dataTable DataTable The datatable whose column count is returned.

Return Value

Data Type Description
Integer Returns the number of columns in the datatable.

Expand image Example

SXML