| 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
)
Public Function FieldExists (
drDataReader As IDataReader,
strName As String
) As Boolean
Parameters
- drDataReader
- Type: System.DataIDataReader
IDataReader containing values - strName
- Type: SystemString
Name of field to check for existance for
Return Value
Type:
BooleanTrue if strName is a valid field in the IDataReader otherwise false
Remarks See Also