{CompanyName} FlexyGo

SQLUtilities..::..FormatField Method (Type, Object, Byte, Boolean, Boolean)

Formats the field depending on its TypeCode

Namespace:  FLEXYGO.Utilities.SQL
Assembly:  flxUtilities (in flxUtilities.dll)

Syntax


public static string FormatField(
	Type aType,
	Object aValue,
	byte aDBType,
	bool aEscapeQuotes,
	bool Nvarchar
)
Public Shared Function FormatField ( _
	aType As Type, _
	aValue As Object, _
	aDBType As Byte, _
	aEscapeQuotes As Boolean, _
	Nvarchar As Boolean _
) As String

Parameters

aType
Type: Type
A type.
aValue
Type: Object
A value.
aDBType
Type: Byte
Type of a database.
aEscapeQuotes
Type: Boolean
if set to true the escape quotes.
Nvarchar
Type: Boolean

Return Value

System.String.