Home > Store > Web Development > ASP.NET

larger cover

Add To My Wish List

ASP.NET Data Web Controls Kick Start

  • By Scott Mitchell
  • Published Feb 12, 2003 by Sams. Part of the Kick Start series.
    • Copyright 2003
    • Dimensions: 7-3/8" x 9-1/8"
    • Pages: 432
    • Edition: 1st
    • Book
    • ISBN-10: 0-672-32501-2
    • ISBN-13: 978-0-672-32501-4
    • eBook
    • ISBN-10: 0-7686-6330-X
    • ISBN-13: 978-0-7686-6330-3

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Downloads
  • Extras
  • Sample Content

Utilizing the more advanced features of the Data Web Controls has many developers stumped. These controls are fairly simple to use when it comes to simple data display. However, they can do much more than merely present data. For example, the DataGrid Web Control allows for sorting, paging, and editing of data. In addition, these controls allow for templating of data, which can be used to provide more complex views. The DataGrid, DataList, and Repeater forum on the Microsoft ASP.NET Forums received more than 2,100 posts in the first month and a half of use, or over 35 posts per day on average. As the Web master of an ASP.NET Web site, Scott has also received numerous emails from readers and visitors asking questions about these Web Controls. ASP.NET Data Web Controls is likely to be an indispensable item in every ASP.NET developer's toolbox.

Downloads

Go to Scott Mitchell's book companion web site for updates.

All the code developed for the book in one convenient download - 121 kb -- code.zip

Online Sample Chapters

ASP.NET Data Web Controls: Providing DataGrid Pagination

Customizing the HTML Output

Customizing the HTML Output

Providing DataGrid Pagination

Table of Contents



Introduction.

I. DISPLAYING DATA.

1. An Introduction to the DataGrid, DataList, and Repeater.

What Are Data Web Controls? The DataGrid Web Control. The DataList Web Control. The Repeater Web Control. Determining What Data Web Control to Use. Summary. On the Web.

2. Binding Data to the Data Controls.

Specifying a DataSource. The Ins and Outs of the DataBind() Method. Building a Class that Implements IEnumerable. Summary. On the Web.

3. Customizing the HTML Output.

Specifying Display Properties in the DataGrid and DataList. Customizing Data-Binding Output in Templates. Summary. On the Web.

II. ASSIGNING ACTIONS TO THE DATA WEB CONTROLS.

4. Adding Buttons and Hyperlinks to the DataGrid Web Control.

A Quick Review of the DataGrid Column Controls. Adding Button Columns to the DataGrid Web Control. Adding HyperLinkColumns to the DataGrid Web Control. Summary. On the Web.

5. Adding Command Buttons to the Data Web Controls.

Adding a Command Button to a Template. Command Buttons That Trigger Events Other Than ItemCommand. Creating Select Command Buttons. Summary. On the Web.

6. Using External Web Controls to Achieve Effects on the Web Control.

Creating Filtering Buttons. Doing a Batch Update. Summary. On the Web.

III. ADVANCED FEATURES OF THE DATAGRID WEB CONTROL.

7. Sorting the DataGrids Data.

Providing Simple Sorting Support in the DataGrid Web Control. Adding Advanced Sorting Features. Caching the DataGrids DataSource at the Page Level. Summary. On the Web.

8. Providing DataGrid Pagination.

Adding Paging Support to the DataGrid. Providing a More Elegant Paging Interface. Paging Through the DataGrid Using Custom Paging. Paging Through a Cached DataSet. Summary. On the Web.

9. Editing the DataGrid Web Control.

The DataGrids Editing Interface. Editing Data with No Foreign Keys That Can Be Edited in a TextBox. Using Other Controls to Edit Data. Editing Data That Has Foreign Key Constraints. Adding Validation Controls to the Editing Interface. Summary. On the Web.

10. Putting It All Together: A Real-World Example.

An Overview on Providing Sorting, Paging, and Data Modification Features for a Single DataGrid. Providing Sorting and Pagination Support in a Single DataGrid. Adding Data Modification Support to a Sortable and Pageable DataGrid. The Complete Source Code for a Multi-Functional DataGrid. Summary. On the Web.

IV. MISCELLANEOUS DATA CONTROL TOPICS.

11. Altering the Data Before Its Rendered.

Using Custom Functions and Data-Binding Syntax to Modify the Display of Data Based on Its Value. Using the ItemDataBound Event to Modify the Display of Data Based on Its Value. Summary. On the Web.

12. Creating Custom Column Controls for the DataGrid.

DataGrid Column Basics. Steps for Creating a Robust Custom DataGrid Column. Using Custom DataGrid Columns to Extend the Functionality of the DataGrid. Summary. On the Web.

Index.

 
Best Value

Book + eBook Bundle  $62.98  $41.29

Book Price: $31.49
eBook Price: $9.80

Add To Cart

This book includes Instant Online Access with Safari and free shipping!

Instant Online Access with Safari Books Online

With your book purchase you are entitled to free, instant online access to that book on Safari Books Online for 45 days. After you've completed your purchase, you will receive instructions on how to log into Safari Books Online. If you do not want to receive online access to the book, simply uncheck the box for Instant Online Access in your cart.

Add To Cart

Book  $34.99  $31.49

Usually ships in 24 hours.

This book includes Instant Online Access with Safari and free shipping!

Instant Online Access with Safari Books Online

With your book purchase you are entitled to free, instant online access to that book on Safari Books Online for 45 days. After you've completed your purchase, you will receive instructions on how to log into Safari Books Online. If you do not want to receive online access to the book, simply uncheck the box for Instant Online Access in your cart.

Add To Cart

eBook (Adobe DRM)  $27.99  $25.19

About Adobe DRM eBooks

Information This eBook requires the free Adobe® Digital Editions software.

Before downloading this DRM-encrypted PDF, be sure to:


  • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
  • Authorize your copy of Adobe Digital Editions using your Adobe ID. If you don't already have an Adobe ID, you can create one here.
  • Visit our eBook FAQ page for more information.
Safari Books Online

What is this?

Safari Books Online

Online access to books, videos, and tutorials from Addison Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media and others - starting as low as $22.99. Learn more and start a free trial.

Start Reading Online
Informit Network