SqlHelperEscapeQuotes Method |
Escapes single quotes in string value used for SQL query (value's => value''s).
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static string EscapeQuotes(
string text
)
Parameters
- text
- Type: SystemString
Original input text
Return Value
Type:
StringThe escaped string that can be used as safe string in SQL query
See Also