InsertColumn Method
Insert a column to a datatable.
Syntax
Sub InsertColumn(tableName, colName, colDataType, beforeColName, setDefaultValue) |
Parameters
tableName
Type: String
The name of the datatable
colName
Type: String
The name of the column to insert
colDataType
Type: VSColumnDataType
The data type of the column to insert
beforeColName
Type: String
The name of the column to insert the column before
setDefaultValue
Type: Boolean
Indicates whether or not to set the default value for this column
Return Value
None
Examples
IronPython
#Insert a column to a datatable |
C#
//Insert a column to a datatable |