DataAccessGetDateTimeFieldValue Method (DataRow, String, DateTime) |
Retrieve the value of a row view field value by replacing DbNull by null 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(
DataRow dataRow,
string fieldName,
DateTime defaultValue
)
Public Shared Function GetDateTimeFieldValue (
dataRow As DataRow,
fieldName As String,
defaultValue As DateTime
) As DateTime
Parameters
- dataRow
- Type: System.DataDataRow
A data row - fieldName
- Type: SystemString
A field name - defaultValue
- Type: SystemDateTime
A default DateTime value
Return Value
Type:
DateTimeSee Also