Click or drag to resize
SqlHelperGetConvert Method
Gets the convert expression.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static string GetConvert(
	string value,
	string type
)

Parameters

value
Type: SystemString
Value to be converted
type
Type: SystemString
Type the value should be converted to

Return Value

Type: String
Examples
GetConvert("ActivityValue", "INT")
returns CONVERT(INT, ActivityValue)
See Also