Gets the column name by its index.

Syntax

Smartsite SXML CopyCode image Copy Code
string datatable.columns.getname(datatable dataTable, integer columnNumber)

Parameters

Name Data Type Description
dataTable DataTable The datatable.
columnNumber Integer The column index whose name will be returned.

Return Value

Data Type Description
String The name of the column.

Expand image Examples

SXML