In particular, you'll look at the class, provides a single object that you can define declaratively (in your web page) or programmatically (in your code-behind file).It will manage internally the connection to the data, its selection, and various options concerning its presentation (such as paging and caching) so that all you need to do is tell a UI control what data source to use and everything else is taken care of.We have explored the basics and adding paging feature to List View control through my previous articles List View Control in ASP. Like my previous articles on List View control, we will add this feature in 2 scenarios. Our next step in learning List View Control is to add edit/update/delete/insert feature to the List View control. NET includes data source controls that allow you to work with different types of data sources such as a database, an XML file, or a middle-tier business object.Data source controls connect to and retrieve data from a data source and make it available for other controls to bind to, without requiring code. This topic provides information about the different types of data source controls in ASP. The data source control model is extensible, so you can also create your own data source controls that interact with different data sources or that provide additional functionality for an existing data source. NET Framework includes data source controls to support different data-binding scenarios.Enables you to bind to data that is based on the Entity Data Model (EDM).
In this chapter, you'll look at the various sources of data with which you can fill your pages and the controls that ASP. Then you'll look more deeply at databases, how you connect your sites to them, and how you bind the information they contain to the controls on your page.Each data source control wraps a particular data provider-relational databases, XML documents, or custom classes and helps in: There are many data source controls available in ASP.NET for accessing data from SQL Server, from ODBC or OLE DB servers, from XML files, and from business objects.A data source control interacts with the data-bound controls and hides the complex data binding processes.These are the tools that provide data to the data bound controls and support execution of operations like insertions, deletions, sorting, and updates.