ASP. NET 2.0 beta2 learning journey (1) -- discard the datasetdatasource Control

Source: Internet
Author: User
The data source control of beta1 contains a datasetdatasource control. This control is mainly used to retrieve and process dataset data. However, in beta2, we can no longer find the control.
I don't know why Microsoft gave up the datasetdatasource control?
Let's talk about my personal views. If there are any errors, please criticize and correct them.
For data access, Asp.net 2.0 has indeed made revolutionary progress. A lot of past repetitive CodeAre all implemented using controls. You can easily access and display data by using the data source and data bonding controls.
Asp.net 2.0 divides data into two types: Flat data and hierarchical data. The former refers to the basic data form in the form of a single table; the latter refers to the multi-layer data form in the tree structure. These two types of data have different processing methods.
Each data form corresponds to different data sources and data binding controls for processing. For example, flat data uses sqldatasource, accessdatasource, and objectdatasource as data source controls, and gridview as data binding controls.
Hierarchical Data uses sitemapdatasource and xmldatasource as data source controls, and Treeview and menu as data binding controls. This is evident in the definition of the relevant name controls and class hierarchies. From the perspective of name controls and class hierarchies, in beta1, datasetdatasource is a flattened data source control. To be honest, I personally think that its existence is not very significant. Similar data source controls can basically process most forms of data. The datasetdatasource control is mostly used to process XML files in dataset format. This work is very simple for the xmldatasource control. Therefore, the existence of datasetdatasource is meaningless.
I don't know what I think. The above is just my personal speculation about Microsoft's intentions.
Do you have any ideas?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.