These controls allow page developers to declaratively access and modify data without writing any code to perform the data access. ) When I started my career as a web developer, Microsoft's Active Server Pages version 2.0 had just burst onto the scenes (classic ASP, mind you, not . Back in my day, web developers were responsible for writing code to both access and display data.This article is one in a series of articles on ASP. That is, we had to write code that queried the database and then had to write more code to squirt out the appropriate data surrounded by the applicable HTML elements. NET version 1.x simplified this process with the host of data Web controls (the Data Grid, Data List, Repeater, Drop Down List, and so on). NET 2.0 data source controls provide a declarative way to work with data.While libraries like the Data Access Application Block help abstract away the repetition, and utilizing a well-designed application architecture helps reduce the required domain knowledge for the website's implementors, the data access techniques in ASP.NET 1.x still feel much like displaying data in classic ASP applications. NET 2.0 were introduced to bring the advantages from the data display side over to the data access side as well. NET 2.0 provides five different data source controls, each designed for accessing a different type of data.This Help article describes which properties to use to bind a Rad Html Chart to an Xml Data Source and presents a code example. NET 2.0 introduced a number of new Web controls designed for accessing and modifying data.
NET page use all five different data source controls in the same manner, as we will see shortly.
So the abstractions save us time working, but they don't save us time learning.
And all this means that paradoxically, even as we have higher and higher level programming tools with better and better abstractions, becoming a proficient programmer is getting harder and harder." objects specialized to provide capabilities for representing data from a relational database.
This reduces the domain knowledge needed for working with different types of data.
You no longer need to know the specifics for connecting to a Microsoft SQL Server 2000 database, or the precise code for accessing and filtering the contents of an XML file.