Click or drag to resize
DataHelperChangeBooleanValues Method (DataTable, String, Boolean, Boolean, String)
Changes the boolean value in the given table.

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

Parameters

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