Click or drag to resize

RecordClassFieldExists Method (DataRow, String)

Examines the DataRow (rwDataRow) passed in for the existance of strName. If the field exists and the field is 'something' as opposed to 'not Nothing' the function returns true. AssignAllRow for an example.

Namespace:  Dynamicweb.News
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public bool FieldExists(
	DataRow rwDatarow,
	string strName
)

Parameters

rwDatarow
Type: System.DataDataRow
Datarow containing values
strName
Type: SystemString
Name of field to check for existance for

Return Value

Type: Boolean
True if strName is a valid field in the DataRow otherwise false
Remarks