SqlHelperGetConvert Method |
Gets the convert expression.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax 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:
StringExamples GetConvert("ActivityValue", "INT")
returns CONVERT(INT, ActivityValue)
See Also