BaseDataBoundControl Class
Assembly: System.Web (in system.web.dll)
ASP.NET supports a controls architecture that enables Web server controls to bind to data in a consistent fashion. Web server controls that bind to data are referred to as data-bound controls, and the classes that facilitate that binding are called data source controls. Data-bound controls that are designed to use ASP.NET data source controls derive from the BaseDataBoundControl control class, which defines the base data-bound control functionality.
You can use the data-bound controls that are provided with ASP.NET, including GridView, DetailsView, and TreeView, to perform most Web development tasks that involve displaying data. In scenarios in which these controls do not provide the functionality you need, you can inherit from the base DataBoundControl and HierarchicalDataBoundControl classes to implement your own custom data source control.
While any class that supports the DataSource and DataSourceID properties and the DataBind method is a data-bound control, most ASP.NET data-bound controls extend the abstract BaseDataBoundControl and DataBoundControl classes. Notable exceptions include DataGrid, Repeater, and the DropDownList controls. For more information about data binding, see Web Page Data Binding Techniques.
- AspNetHostingPermission For operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission For operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.BaseDataBoundControl
System.Web.UI.WebControls.DataBoundControl
System.Web.UI.WebControls.HierarchicalDataBoundControl
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.