DataAccessGetDoubleFieldValue Method (DataRowView, String, Double) |
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 double GetDoubleFieldValue(
DataRowView dataRowView,
string fieldName,
double defaultValue
)
Public Shared Function GetDoubleFieldValue (
dataRowView As DataRowView,
fieldName As String,
defaultValue As Double
) As Double
Parameters
- dataRowView
- Type: System.DataDataRowView
A data row view - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemDouble
A default double value
Return Value
Type:
DoubleThe value of the row field
See Also