Click or drag to resize

RecordClassFieldExists Method (IDataReader, String)

Examines the IDataReader (drDataReader) 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. AssignAllReader for an example.

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

Parameters

drDataReader
Type: System.DataIDataReader
IDataReader 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 IDataReader otherwise false
Remarks