Chapter 4. Editing DataGrid Controls

If you use DataGrid controls in your .NET Web application, chances are good that what you really need is an editable, tabular component that works in much the same way as an Excel worksheet. Typically, Excel worksheets appear to be read-only until the user points to a particular cell by using the cursor via the mouse or keyboard. In that moment of pointing to a cell, the user interface of the worksheet changes. The clicked cell is rendered through an interactive input control—such as a text box or a combo box. The user enters the new text and then closes the input operation by clicking a button. Clicking another button cancels the user’s operation, restoring the original text in the cell.

This user interface ...

Get Building Web Solutions with ASP.NET and ADO.NET 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.