Removes an existing column from the datatable.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable.columns.remove(datatable dataTable, string columnName)

Parameters

Name Data Type Description
dataTable DataTable The datatable that will be modified.
columnName String The name of the column that will be removed.

Return Value

None.

Expand image Example

SXML