Click or drag to resize
DataHelperEnsureCodenames Method
Ensures Codename values in specified column.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static void EnsureCodenames(
	DataTable dt,
	string columnName,
	string sourceColumnName,
	string replacement
)

Parameters

dt
Type: System.DataDataTable
Data table
columnName
Type: SystemString
Column name
sourceColumnName
Type: SystemString
Source column name for code name
replacement
Type: SystemString
Replacement string for invalid characters
See Also