便利です。

リンク: ASP.NET.4GuysFromRolla.com: Accessing and Updating Data in ASP.NET 2.0: Filtering Database Data with Parameters.
A Multipart Series on ASP.NET 2.0’s Data Source Controls

ASP.NET 2.0 introduced a number of new Web controls designed for accessing and modifying data.
These controls allow page developers to declaratively access and modify data without writing any
code to perform the data access. This article is one in a series of articles on ASP.NET 2.0’s new data
source controls.

  • Data Source Control Basics – explores the concepts
    and advantages of data source controls, and compares their usage in ASP.NET 2.0 to data access techniques in ASP.NET 1.x.
  • 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.