Chapter 17. Editing Data Using the DataGrid Control

OBJECTIVES

  • 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.191.86