asp.net asp.net2.0 from our footsteps more and more near, I also rough look, here I put my feelings tell everyone, welcome to correct me!
First let's take a quick look at what new changes and improvements are made to 2.0 than previous versions.
1. New controls
More than 40 new controls will be available in 2.0, making it much easier to develop. In terms of the data controls we care about, the new DataGrid control GridView appears in front of us, replacing the DataGrid in future development.
The GridView control's new features support data sorting, paging, data selection, data editing, and so on, and it does not require additional code to implement functionality through the new data source provider than the DataGrid, about data source Provider will be explained in a later chapter. Another new data control is DetailsView, which is able to display a single row of data to support a custom template. Let's take a look at an example to show the use of the GridView and DetailsView together.
This example shows the modifications in the DetailsView after the GridView selects a row.
Another 2.0 will see our familiar TreeView, this time Microsoft has integrated this very common control.
BulletedList is a new data-binding design control that can display highly structured HTML lists, including hyperlinks and link buttons, somewhat like DataList.
There are a number of new controls that can help us output dynamic images, upload, use of image hotspots and so on, will greatly improve the development speed.
2. Main Page-master pages
In previous development, we wanted to display the same page header on every page, you have to add the same header page to each page or use a frame, but now this new feature will greatly simplify our development, using master pages we will be able to easily display on each page, ensure consistency, and easy to use.
3. Site Navigation
Like master pages, site navigation plays a large role in most Web applications, with SiteMapPath controls, based on XML data, to clearly display the structure of the site. In the following example, the SiteMapPath control is displayed in a clear location, using the same combination as the TreeView. The same example does not use code.
4. User Management
In our previous development process, you must have developed the System User Management module experience. We have to spend a lot of energy to divide the user's permissions, landing and other issues. Now, in the asp.net2.0, the new user management, will provide us with the development of help, it can provide us with registration, landing, access, and so on, through the data supply to achieve data storage, can be simplified to do not use a line of code can achieve security and strong user management.
For your convenience, you can configure user management.
5. Personalized
In asp.net2.0, personalization is another exciting topic. In personalization, you can display the settings of different users according to different users. It will be easier to access Web.config in 2.0 and support intelligent display.
Another personalized feature is that the page will be able to display multiple so-called page elements (Web Parts) that, through your definition, one or more page components appear on the page, and the user can drag and drop to select the way the page components are emitted.
Cond........