PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Renames the column name.
Syntax
Smartsite SXML | Copy Code |
---|---|
datatable.columns.rename(datatable dataTable, integer colNumber, string newName) datatable.columns.rename(datatable dataTable, string oldName, string newName) |
Parameters
Name | Data Type | Description |
---|---|---|
dataTable | DataTable | The datatable. |
colNumber | Integer | The index of the column. |
newName | String | The new column name. |
oldName | String | The old column name. |
Return Value
None.