GeneralUtilsCreateTypedDataTableColumn Method |
Creates a typed data table column. Used in typed lists and typed views. Adds the column to the columns collection specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax public static DataColumn CreateTypedDataTableColumn(
string columnName,
string caption,
Type columnType,
DataColumnCollection columns
)
Public Shared Function CreateTypedDataTableColumn (
columnName As String,
caption As String,
columnType As Type,
columns As DataColumnCollection
) As DataColumn
Parameters
- columnName
- Type: SystemString
Name of the column. - caption
- Type: SystemString
The caption. - columnType
- Type: SystemType
Type of the column. - columns
- Type: System.DataDataColumnCollection
The columns.
Return Value
Type:
DataColumnready to use column definition.
See Also