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: 9.0.3.0 (9.0.3.20240719)
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