the configuration shown above would map (and redirect) all requests for Home.aspx to Default.aspx?tabid=0. Users can bookmark the short link, and the short link will be displayed on their browser.
asp.net 1.x data access leveraged ADO.NET connections and commands to provide data that could be bound to various ASP.NET controls. ASP.NET 2.0 improves on the relationship with ADO.NET by providing data sources that encapsulate the code to create both connections and commands in a single XML tag within the Web.config file. As with ASP.NET 1.x, you can use a wizard inside of Visual Studio 2005 to create these data sources. ASP.NET 2.0 ships with data sources for:
for more details on data sources, see Data Access in ASP.NET 2.0.
asp.net 2.0 also includes two new data-bound controls. The first control, gridview, expands on the datagrid by providing configurable code for editing cells, displaying rows on multiple pages, sorting, deletion, selection, and other common behaviors.
figure 9. Configuring a GridView
the second control, detailsview, provides a detail view that complements both gridview and datagrid.
figure 10: DetailsView control
the detailsview control displays one record at a time, giving you much greater control over how a record is displayed, edited, deleted, or created.
if you have ever developed Web applications for ASP.NET, you have encountered the Microsoft Mobile Internet Toolkit (MMIT) and the special mobile controls. In ASP.NET 2.0, the MMIT and mobile controls have been rolled into the main framework. However, ordinary ASP.NET 2.0 controls now use an adaptive rendering model that provides the same behavior offered by the older mobile controls, only in a more flexible and easy-to-use package.
almost every major update to an API or framework involves both changes to existing features and new features and enhancements. In this section, we will look at several of the new feature