Add a single quote to a string like it's needed for an SqlServer string.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function QuoteDBString ( _
	str As String _
) As String
C#
public static string QuoteDBString(
	string str
)

Parameters

str
Type: System..::..String

Return Value

See Also