Editable DataGrid

Tamer_Ahmed

Centurion
Joined
Dec 20, 2003
Messages
159
Location
Egypt
Can any body explain the all process of how wo make the DataGrid Editable in ASP.net i want explantation not just the code
 
Okay, here's a really general overview. At design-time, add a column to your grid that
contains an Edit button or an Edit link. In the EditCommand event handler of the grid,
set the EditItemIndex to the item chosen to edit (e.Item.ItemIndex) and re-bind
the grid. Now the row can be edited by the user when the Edit button is clicked. To
actually save or discard the changes, however, you must add code in the
UpdateCommand and CancelCommand event handlers.

This is, as I mentioned, really general; feel free to ask specifics.
 
Back
Top