This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Removes an existing column from the datatable.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Columns.Remove")]
public static void ColumnRemove(
	 dataTable,
	string columnName
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Columns.Remove")> _
Public Shared Sub ColumnRemove ( _
	dataTable As , _
	columnName As  _
)

Parameters

dataTable
SXMLDataTable
The datatable that will be modified.
columnName
String
The name of the column that will be removed.

See Also

Advanced