The article Add, Edit, update, Delete gridview was added by anjankant on Friday, July 09, 2010.
You can cancel the action using Cancel Command of the Command Field.
Grid View consists of events that can be used to perform the actions like edit, update and cancel upon the Data items displayed in the ASP. The behavior described in this question is as expected.
When you set text of a cell in grid, it directly affects HTML that is going to be rendered.
When you set text value of a cell, it means that you are setting inner Text of the cell.
The column that Grid View creates for command fields (Edit, Delete and Select) are a (anchor) or button elements.
So you can see what will happen if you set text value in that cell.It will wipe out those link or button controls and replace them with simple text string. We're a friendly computing community, bustling with knowledgeable members to help solve your tech questions.Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.You'll be able to ask any tech support questions, or chat with the community and help others.Everything is working fine on my gridview except the Update. I've researched the problem and tried various solutions I've seen, but no luck.