DataAccessGetStringFieldValue Method (DataRow, String, String) |
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.3.0.0 (4.3.0.0)
Syntax public static string GetStringFieldValue(
DataRow dataRow,
string fieldName,
string defaultValue
)
Public Shared Function GetStringFieldValue (
dataRow As DataRow,
fieldName As String,
defaultValue As String
) As String
Parameters
- dataRow
- Type: System.DataDataRow
A data row - fieldName
- Type: SystemString
A field identifier - defaultValue
- Type: SystemString
A default string value
Return Value
Type:
StringSee Also