Value ; Find the controls in the selected row by using Find Control method of gridviews rows collection and collect data from the text boxes.Find Control "txt Designation" as Text Box; if txtname!"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.Value ; Place the Textbox control in the grids Footer template for Adding new record.Register events for Edit, Update, Cancel button of gridview??Find the Unique id for deleting the row from Data Keys collection of gridview.Check for Comman Name and invoke delete method for the selected row.
perhaps Web Form_Do Post Back With Options is not constructed properly.
The Command Name property can contain any string name which can be used to recognize the type of command invoked from gridview.
In this event we have to handle the Delete Button Code.
Uncheck Auto-Generate Field from the Property window.
This property binds the database column field value to each row of gridview as a Unique Identifier.