DataAccessGetDoubleFieldValue Method (DataRow, String, Double) |
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: 4.0.0.0 (4.0.0.0)
Syntax public static double GetDoubleFieldValue(
DataRow dataRow,
string fieldName,
double defaultValue
)
Public Shared Function GetDoubleFieldValue (
dataRow As DataRow,
fieldName As String,
defaultValue As Double
) As Double
Parameters
- dataRow
- Type: System.DataDataRow
A data row - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemDouble
A default double value
Return Value
Type:
DoubleSee Also