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: 9.1.0.0 (9.1.0.20241025)
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