Introduction:
In this article I will explain how to insert, edit, update and delete data in gridview using asp.net.
In this article I will explain how to insert, edit, update and delete data in gridview using asp.net.
Description:
I have one gridview I need to write code to insert data into gridview after that I need to edit that gridview data and update it and if I want to delete the record in grdview we need to delete record simply by click on delete button of particular row to achieve these functionalities I have used some of gridview events those are
I have one gridview I need to write code to insert data into gridview after that I need to edit that gridview data and update it and if I want to delete the record in grdview we need to delete record simply by click on delete button of particular row to achieve these functionalities I have used some of gridview events those are
1 1) Onrowcancelingedit
2 2) Onrowediting
3 3) Onrowupdating
4 4) Onrowcancelingedit
5 5) Onrowdeleting
By Using above griview events we can insert, edit, update and delete the data in gridview. My Question is how we can use these events in our coding before to see those details first design table in database and give name Employee_Details