RingSoft.DbLookup Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

GblMethods..::..GetRowValue Method

Gets the value in the DataRow for the column name.

Namespace:  RingSoft.DbLookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public static string GetRowValue(
	this DataRow dataRow,
	string columnName
)
<ExtensionAttribute> _
Public Shared Function GetRowValue ( _
	dataRow As DataRow, _
	columnName As String _
) As String
[ExtensionAttribute]
public:
static String^ GetRowValue(
	DataRow^ dataRow, 
	String^ columnName
)

Parameters

dataRow
Type: DataRow
The data row.
columnName
Type: String
Name of the column.

Return Value

The value for the column name.

Exceptions


ExceptionCondition
ArgumentExceptionColumn {columnName} does not exist in the DataRow.