DataAccessGetInt32FieldValue Method (Object, Int32) |
Retrieve the value of a row view field value by replacing DbNull by a default value if empty
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax public static int GetInt32FieldValue(
Object dataFieldValue,
int defaultValue
)
Public Shared Function GetInt32FieldValue (
dataFieldValue As Object,
defaultValue As Integer
) As Integer
Parameters
- dataFieldValue
- Type: SystemObject
An object retrieved from the database - defaultValue
- Type: SystemInt32
A default integer value
Return Value
Type:
Int32The value of the row field
See Also