System.Web.UI.WebControls.BaseDataBoundControl.ValidateDataSource Method

When overridden in a derived class, verifies that the object a data-bound control binds to is one it can work with.

Syntax

protected abstract void ValidateDataSource (object dataSource)

Parameters

dataSource
The object to verify. Typically an instance of IEnumerable, System.ComponentModel.IListSource, System.Web.UI.IDataSource, or System.Web.UI.IHierarchicalDataSource.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0