hi,
I am using gridview control in asp.net.... i want to edit the gridview as like spreadsheet allows to edit... so is there any way to edit the gridview just like table editing..... waiting for reply....
thanks in advance....
Hi, To edit data in gridview, use the showeditbutton=true option, this will create a column with edit button for all the rows,
U have to use textbox for the columns to be edited in the
EditItem Template of the gridview,
When u click the the edit button the textboxes will be generated for the clicked row and u can edit the values
U have to write code for binding the values in the textbox and saving the edited items, only the design for edit is automated in grid view.
use
text='<%#Bind("dbcolumnname")%> in the textbox to bind the values.