DataAccessGetFieldValue Method (DataRowView, 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.0.5.0 (8.0.5.20210818)
Syntax public static Object GetFieldValue(
DataRowView dataRowView,
string fieldName,
Object defaultValue
)
Public Shared Function GetFieldValue (
dataRowView As DataRowView,
fieldName As String,
defaultValue As Object
) As Object
Parameters
- dataRowView
- Type: System.DataDataRowView
A DataRowView - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemObject
A default object value
Return Value
Type:
ObjectThe value of the row field
See Also