Click or drag to resize
SqlHelperEscapeQuotes Method
Escapes single qoutes in string value used for SQL query (value's => value''s).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string EscapeQuotes(
	string text
)

Parameters

text
Type: SystemString
Original input text

Return Value

Type: String
The escaped string that can be used as safe string in SQL query
See Also