Click or drag to resize

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: 9.1.0.0 (9.1.0.20241025)
Syntax
public static DateTime GetDateTimeFieldValue(
	DataRow dataRow,
	string fieldName,
	DateTime defaultValue
)

Parameters

dataRow
Type: System.DataDataRow
A data row
fieldName
Type: SystemString
A field name
defaultValue
Type: SystemDateTime
A default DateTime value

Return Value

Type: DateTime
See Also