RemoveColumn Method

Remove a column from a datatable.

Syntax

Sub RemoveColumn(tableName, colName)

Parameters

tableName

Type: String

The name of the datatable


colName

Type: String

The name of the column to remove


Return Value


None

Examples

IronPython

#Remove a column from a datatable



C#

//Remove a column from a datatable


Remarks