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: 8.3.3.0 (8.3.3.20240926)
Syntax
public string FormatAccordingToFieldDataType(
	string fieldDataType,
	string fieldFormat,
	Object inputValue
)

Parameters

fieldDataType
Type: SystemString
(Optional) Specific field datatype, examples of supported data types 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