Click or drag to resize

DataAccessGetInt32FieldValue Method (DataRow, String, Int32)

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.0.3.0 (9.0.3.20240719)
Syntax
public static int GetInt32FieldValue(
	DataRow dataRow,
	string fieldName,
	int defaultValue
)

Parameters

dataRow
Type: System.DataDataRow
A data row
fieldName
Type: SystemString
A field identifier
defaultValue
Type: SystemInt32
A default integer value

Return Value

Type: Int32
The value of the row field
See Also