DataHelperEnsureColumn Method |
Ensures specified column.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
Int32See Also