Click or drag to resize

DataAccessGetFieldValue Method (DataRowView, String, Object)

Retrieve the value of a row 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 Object GetFieldValue(
	DataRowView dataRowView,
	string fieldName,
	Object defaultValue
)

Parameters

dataRowView
Type: System.DataDataRowView
A DataRowView
fieldName
Type: SystemString
A field identifier
defaultValue
Type: SystemObject
A default object value

Return Value

Type: Object
The value of the row field
See Also