- dataSource
- An object set to the BaseDataBoundControl.DataSource property.
The HierarchicalDataBoundControl.ValidateDataSource(object) method is called only in the System.Web.UI.WebControls.BaseDataBoundControl class's mutator (setter) for the BaseDataBoundControl.DataSource property. The System.Web.UI.WebControls.HierarchicalDataBoundControl class checks the type of the object that is set for the BaseDataBoundControl.DataSource property to ensure that it is an instance of the System.Web.UI.IHierarchicalEnumerable or System.Web.UI.IHierarchicalDataSource interfaces.