Click or drag to resize
DataHelperChangeStringValues Method (DataTable, String, String, String, String)
Changes the string value in the given table.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void ChangeStringValues(
	DataTable dt,
	string columnName,
	string oldValue,
	string newValue,
	string where
)

Parameters

dt
Type: System.DataDataTable
Table to process
columnName
Type: SystemString
Column name
oldValue
Type: SystemString
Old value
newValue
Type: SystemString
New value
where
Type: SystemString
Additional where condition
See Also