Gridview rowupdating cancel update

03-Nov-2017 02:07

aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.

In this article, I am going to explain how to insert, update or delete a row from a grid view control. At run time, the Eval method calls the Eval method of the Data Binder object.We have selected four columns from Employee Details table.Grid View displays the values of a data source in a table where each column represents a field and each row represents a record.Many a times in our applications we use primary keys to get control of the particular record in the gridview. For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row.

In this article, I am going to explain how to insert, update or delete a row from a grid view control. At run time, the Eval method calls the Eval method of the Data Binder object.We have selected four columns from Employee Details table.Grid View displays the values of a data source in a table where each column represents a field and each row represents a record.Many a times in our applications we use primary keys to get control of the particular record in the gridview. For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row. I have gone far enough to figure out the problem is caused by the Checkbox field.