We bind a DataBound control to a DataSource control. A DataSource control is used to represent a particular type of data.
The ASP.NET 2.0 Framework includes the following five DataSource controls:
- SqlDataSource Represents data retrieved from a SQL relational database, including Microsoft SQL Server, Oracle, or DB2.
- AccessDataSource Represents data retrieved from a Microsoft Access database.
- ObjectDataSource Represents data retrieved from a business object.
- XmlDataSource Represents data retrieved from an XML document.
- SiteMapDataSource Represents data retrieved from a Site Map Provider. A Site Map Provider represents the page and folder structure of a website.
A DataBound control is associated with a particular data source control through its DataSourceID property
The ASP.NET 2.0 Framework includes the following five DataSource controls:
- SqlDataSource Represents data retrieved from a SQL relational database, including Microsoft SQL Server, Oracle, or DB2.
- AccessDataSource Represents data retrieved from a Microsoft Access database.
- ObjectDataSource Represents data retrieved from a business object.
- XmlDataSource Represents data retrieved from an XML document.
- SiteMapDataSource Represents data retrieved from a Site Map Provider. A Site Map Provider represents the page and folder structure of a website.
A DataBound control is associated with a particular data source control through its DataSourceID property
No comments:
Post a Comment