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.7.2.0 (4.7.2.0)
Syntax public static string FormatAccordingToFieldDataType(
string fieldDataType,
string fieldFormat,
Object inputValue
)
Public Shared Function FormatAccordingToFieldDataType (
fieldDataType As String,
fieldFormat As String,
inputValue As Object
) As String
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:
StringSee Also