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.3.3.0 (8.3.3.20240926)
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