DataHelperCopyColumnValues Method |
Note: This API is now obsolete.
Copies column values from source column to target column.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Use custom logic instead.")]
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