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

Get ASP.NET Developer's JumpStart now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.