DataAccessGetFieldValue Method (DataRow, String, Object) |
Retrieve the value of a row field value by replacing DbNull by null if empty
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax public static Object GetFieldValue(
DataRow dataRow,
string fieldName,
Object defaultValue
)
Public Shared Function GetFieldValue (
dataRow As DataRow,
fieldName As String,
defaultValue As Object
) As Object
Parameters
- dataRow
- Type: System.DataDataRow
A data row - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemObject
A default object value
Return Value
Type:
ObjectSee Also