Click or drag to resize
DataHelperEnsureColumn Method
Ensures specified column.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static int EnsureColumn(
	DataTable dt,
	string columnName,
	Type columnType
)

Parameters

dt
Type: System.DataDataTable
Data table
columnName
Type: SystemString
Column name
columnType
Type: SystemType
Column type

Return Value

Type: Int32
See Also