{CompanyName} FlexyGo

SQLUtilities..::..FormatField Method (TypeCode, 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(
	TypeCode aTypeCode,
	Object aValue,
	byte aDBType,
	bool aEscapeQuotes,
	bool Nvarchar
)
Public Shared Function FormatField ( _
	aTypeCode As TypeCode, _
	aValue As Object, _
	aDBType As Byte, _
	aEscapeQuotes As Boolean, _
	Nvarchar As Boolean _
) As String

Parameters

aTypeCode
Type: TypeCode
A type code.
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.