DataAccessGetStringFieldValue Method (DataRowView, String, String) |
Retrieve the value of a row view field value by replacing DbNull by default value 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 string GetStringFieldValue(
DataRowView dataRowView,
string fieldName,
string defaultValue
)
Public Shared Function GetStringFieldValue (
dataRowView As DataRowView,
fieldName As String,
defaultValue As String
) As String
Parameters
- dataRowView
- Type: System.DataDataRowView
A data row view - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemString
A default string value
Return Value
Type:
StringThe value of the row field
See Also