Create an empty datatable without columns and rows.
Syntax
Smartsite SXML | Copy Code |
---|---|
datatable datatable.createempty() datatable datatable.createempty(string[ ] columnNames) |
Parameters
Name | Data Type | Description |
---|---|---|
columnNames | String[ ] | The column names that are added to the new datatable. |
Return Value
Data Type | Description |
---|---|
DataTable | The new datatable. |