DataHelperCopyColumnValues Method |
Copies column values from source column to target column.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static void CopyColumnValues(
DataTable dt,
string targetColumn,
string sourceColumn,
bool copyNullValues = false
)
Parameters
- dt
- Type: System.DataDataTable
Data table - targetColumn
- Type: SystemString
Target column - sourceColumn
- Type: SystemString
Source column - copyNullValues (Optional)
- Type: SystemBoolean
TRUE if the NULL value can be copied; otherwise, FALSE
See Also