For demonstration I have created a database (named Database.mdf) in which we have a table named tbl_Employee.
Learn about longtime user Rowby Goren and his great contributions to the site. But it turned me another error i have taken this example from this site to what I think it was created Microsoft Visual Studio 2003 And I want the same example Microsoft Visual Studio 2008 I wish to help me to control and modify the code ok i modify code as you tell me ..
If he clicks edit (or) in the edit mode he can be able to see the Textbox.If we use proper command names for the buttons like “EDIT”, “DELETE”, “UPDATE”, “CANCEL” these will also trigger the appropriate Grid View Events.Ok let’s move on to Code behind what we have to do when user clicks Edit, Delete, Update and Cancel When we click on Edit the On Row Editing event will be fired.So am calling the method Bind Grid Data method which is overloaded . This example shows how to edit and update records in a Grid View in ASP. This example is helpful in situations where an administrator needs to edit several records from the database.