Chapter 17. Editing Data Using the DataGrid Control


ASP.NET Developer's JumpStart
By Paul D. Sheriff, Ken Getz
Table of Contents
Part II.  Data Handling


  • Add Edit, Save, and Cancel buttons to the DataGrid control

  • Add a Hyperlink column to the DataGrid control

  • Add editing support to the DataGrid control

  • Edit data on a separate details page

  • Add a template column to the DataGrid control

You've already seen how to allow users to view data using the ASP.NET DataGrid control. You've also learned how to bind the control to data using the user-interface components provided by Visual Studio .NET and by writing code to bind the grid to a DataSet, DataTable, DataView, or DataReader object.

It's likely that you'll also want to allow users to be able to edit data using the DataGrid control. As in most other areas of ASP.NET, you have complete control over how you want the user to interact with the DataGrid control, and you can allow the ASP.NET page framework to do most of the work, if you like.


    ASP. NET Developer's JumpStart
    ASP.NET Developers JumpStart
    ISBN: 0672323575
    EAN: 2147483647
    Year: 2002
    Pages: 234 © 2008-2017.
    If you may any questions please contact us: