Click to See Complete Forum and Search --> : modifying data in datagrid control ?


maggie gallotti
July 5th, 2001, 10:54 AM
hi,
I set up my datagrid control based on a command object in a data environment.
Everything displays nicely, except that I can't edit, add or delete anything.
Does anybody know why ?

thanks,
Maggie

John G Duffy
July 5th, 2001, 02:28 PM
The DataGrid control is a Readonly control. To update it you need overlay the cell you wish to update with a textbox or some such control, Allow the user to change the textbox, then you mirror the change to the dataBase. refreshing the DataGrid should update the datagrid.

John G

maggie gallotti
July 5th, 2001, 02:44 PM
Thank you very much. I misunderstood. I'll try doing that.

Maggie