DataAccessGetInt32FieldValue Method (DataRowView, String, 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.3.0.0 (4.3.0.0)
Syntax public static int GetInt32FieldValue(
DataRowView dataRowView,
string fieldName,
int defaultValue
)
Public Shared Function GetInt32FieldValue (
dataRowView As DataRowView,
fieldName As String,
defaultValue As Integer
) As Integer
Parameters
- dataRowView
- Type: System.DataDataRowView
A data row view - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemInt32
A default integer value
Return Value
Type:
Int32The value of the row field
See Also