DataSource Controls





0/5 (0 vote)
From ScottGu: Scott Mitchell is also writing some great data articles on using the ASP.NET 2.0 DataSource controls for the excellent
From ScottGu: Scott Mitchell is also writing some great data articles on using the ASP.NET 2.0 DataSource controls for the excellent www.4GuysFromRolla.com ASP.NET site.
If you don't visit www.4GuysFromRolla.com, I highly recommend checking it out (it has tons of great, all free, content). You can also subscribe to an RSS feed of the published 4GuysFromRolla RSS articles here (if you are an ASP.NET developer you should absolutely do this).
Here is a pointer to the current articles in the most recent 4GuysFromRolla ASP.NET 2.0 DataSource Control Series:
- Data Source Control Basics - explores the concepts of data source controls
- Accessing Database Data - shows how to use the SqlDataSource and AccessDataSource controls to query data from a relational database.
- Filtering Database Data with Parameters - learn how to retrieve just a subset of database data based on hard-coded values and values from the querystring, other Web controls on the page, session variables, and so on.
- Retrieving XML Data with XmlDataSource Control - see how to retrieve both remote and local XML data and display it in a data Web control.
- Creating Custom Parameter Controls - learn how to create your own custom, declarative <asp:parameter> controls for use in the data source controls' parameters collections.
- Examining the Data Source Control's Events - explore the events raised during a data source control's lifecycle.
- Declaratively Caching Data - learn how to cache data to the data cache simply by setting a couple of data source control properties.
- Programmatically Accessing Data using the Data Source Controls - programmatically retrieve, insert, delete, and update data using the SqlDataSource and AccessDataSource controls.
There's also a five-part series on Data Sources here by Nikhil Kothari:
- Data Source Controls, Part 1: The Basics
- Data Source Controls, Part 2: Parameters
- Data Source Controls, Part 3: Asynchronous Data Access
- Data Source Controls, Part 4: Caching
- Data Source Controls, Part 5: Design Time Functionality
Here are a few good article from Scott Guthrie on LINQ datasource
- Binding UI using LINQDatasource control
- Using custom LINQ expression with asp:Linqdatasource control
Enjoy!