DataAccessGetDateTimeFieldValue Method (DataRowView, String, 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.1.3.0 (8.1.3.20220620)
Syntaxpublic static DateTime GetDateTimeFieldValue(
DataRowView dataRowView,
string fieldName,
DateTime defaultValue
)
Public Shared Function GetDateTimeFieldValue (
dataRowView As DataRowView,
fieldName As String,
defaultValue As DateTime
) As DateTime
Parameters
- dataRowView
- Type: System.DataDataRowView
A data row view - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemDateTime
A default DateTime value
Return Value
Type:
DateTimeThe value of the row field
See Also