Click or drag to resize

WorkflowPageFormatAccordingToFieldDataType Method

Returns the inputValue in the format specified according to it's datatype and the user culture

Namespace:  WorkflowGen.My.Web.UI.WebForms
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.6.0.0 (4.6.0.0)
Syntax
public static string FormatAccordingToFieldDataType(
	string fieldDataType,
	string fieldFormat,
	Object inputValue
)

Parameters

fieldDataType
Type: SystemString
(Optional) Specific field datatype, exemples of supported datatypes are Date, Time and Currency.
fieldFormat
Type: SystemString
(Optional) Specific field format, all .NET string formats are supported.
inputValue
Type: SystemObject
(Required) The value to format.

Return Value

Type: String
See Also