- Data Source Controls : ASP.NET 2.0 introduces declarative data source controls that expose data from a backend store, such as a SQL database, middle-tier business object, or XML file, to data-bound UI controls on a page. Data source controls also expose capabilities such as sorting, paging, caching, updating, inserting and deleting data that UI controls can automatically take advantage of without requiring code.
- New Data-bound Controls : In addition to the data-bound controls in ASP.NET v1.x, ASP.NET includes new data-bound UI controls such as GridView, DetailsView, FormView, TreeView, and Menu, which can be customized to display data in a variety of formats. The GridView, DetailsView, and FormView controls can also automatically take advantage of data source capabilities, making is easy to add sorting, paging, and update operations to data-driven pages.
- Data Control Parameters : Data sources can accept input parameters from a variety of sources using the new data control parameter objects in ASP.NET 2.0. These parameter objects allow you to easily supply server control property values, session, application, cookie and querystring fields, and user profile properties to parameterized data operations. Using these parameters enables filtering and master-details scenarios with little or no custom code.
- Improved Data Binding Syntax : The DataBinder.Eval data binding syntax in ASP.NET has been simplified for the common scenario of binding a control in a data-bound template. It is also possible to associate a two-way data binding with control properties in a template, to allow values to be automatically passed to a data source update, insert, or delete operation. For hierarchical XML data, ASP.NET 2.0 also includes an XPath-based data binding syntax.
- Local File Databases Using SQL Express : For ease of development, ASP.NET 2.0 now supports the ability to connect to a SQL Express database as a local file in the application, eliminating the need to provision the database to a server just to perform development work. Of course, you can still connect to server-based SQL databases as well.
Data Access Features in ASP.NET 2.0
Data Access Features in ASP.NET 2.0
Hot on Web: