- dataSource
- An object set to the BaseDataBoundControl.DataSource property.
The DataBoundControl.ValidateDataSource(object) method is only called in the System.Web.UI.WebControls.BaseDataBoundControl class's mutator (set accessor) for the BaseDataBoundControl.DataSource property. The System.Web.UI.WebControls.DataBoundControl 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.IDataSource, System.ComponentModel.IListSource, or IEnumerable interface.