Murach's ASP.NET 3.5 with C# 2008
How to use SQL data sources
This chapter shows you how to use the SqlDataSource control to access the data in a SQL Server database with little or no programming. Along the way, you'll learn how to use the DataList control to display lists of data in your ASP.NET applications.
|
|
|
|
A Product List application that
uses two SQL data sources |
392 |
|
How to create a SqlDataSource
control |
394 |
|
How to define the connection |
396 |
|
How to save the connection string
in the web.config file |
398 |
|
How to configure the Select statement |
400 |
|
How to create a Where clause |
402 |
|
How select parameters work |
404 |
|
|
How to create a Select statement
with the Query Builder |
406 |
|
How to define the parameters |
408 |
|
|
How the DataList control works |
410 |
|
How to define the templates for
a data list |
412 |
|
How to format a data list |
414 |
|
|
How to bind a list control to
a data source |
416 |
|
How to bind the controls in a
template |
418 |
|
The aspx file for the Product
List application |
420 |
|
|
How to create a data source that
can update the database |
422 |
|
How to change the data source
mode |
424 |
|
How to use caching |
424 |
|
 |
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|