Varad, The .NET Guy!

Exploring the excitement of Microsoft .NET and much more..

New data source components in ASP.NET 2.0

http://msdn.microsoft.com/data/archive/default.aspx?pull=/msdnmag/issues/04/06/aspnet20data/default.aspx 

This article discusses on the following:
 
New data source components in ASP.NET 2.0
Binding to business objects and XML data
GridView and DetailsView controls
 
Summary:
Data source controls make codeless binding possible, but seldom practical in real-world situations. Some code must always be written to fine tune the page, but data source controls significantly reduce the quantity. Data source controls also integrate caching capabilities and allow you to enable caching declaratively. Everything happens behind the scenes so you can deliver best-practice code with almost no effort.
 
Data source controls enable a consistent model across a variety of data sources. You can use the same data-binding model regardless of whether the data source is a SQL table, an XML document, a business object, a site map, or even an Excel worksheet. The new architecture is more automatic in nature, but works side-by-side with the old model based on enumerable objects.
 
Posted: Jul 31 2004, 05:20 PM by Varad | with 1 comment(s)
Filed under:

Comments

Jerry Pisk said:

Puting the connection string into every view page is hardly best-practice code. But there already was too much said about .Net evolution, it's going the VB way, easier to use by newbies but harder to use by serious developers.
# August 1, 2004 2:54 AM