DataAccessGetNullableDateTimeFieldValue Method (DataRow, String) |
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: 4.3.0.0 (4.3.0.0)
Syntax public static Nullable<DateTime> GetNullableDateTimeFieldValue(
DataRow dataRow,
string fieldName
)
Public Shared Function GetNullableDateTimeFieldValue (
dataRow As DataRow,
fieldName As String
) As Nullable(Of DateTime)
Parameters
- dataRow
- Type: System.DataDataRow
A data row - fieldName
- Type: SystemString
A field name
Return Value
Type:
NullableDateTimeSee Also