DataAccessGetDateTimeFieldValue Method (Object, DateTime) |
Retrieve the value of a row view field value by replacing DbNull by a default value if empty
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.0.5.0 (8.0.5.20210818)
Syntax public static DateTime GetDateTimeFieldValue(
Object dataFieldValue,
DateTime defaultValue
)
Public Shared Function GetDateTimeFieldValue (
dataFieldValue As Object,
defaultValue As DateTime
) As DateTime
Parameters
- dataFieldValue
- Type: SystemObject
An object retrieved from the database - defaultValue
- Type: SystemDateTime
A default DateTime value
Return Value
Type:
DateTimeThe value of the row field
See Also