Connecting Tech Pros Worldwide Forums | Help | Site Map

Edit and Delete for Gridview in Asp.net

Member
 
Join Date: Sep 2007
Posts: 38
#1: Oct 10 '08
Hi everyone

I’m using the GridView in asp.net and populating the grid dynamically using c#.net.To edit the rows I have set “AutogenerateEditbutton” property to “True”.Now if I run the application and click the “Edit” Button then the complete row is generating the textboxes to edit the data in that particular row and also the “Update” and “Cancel” buttons are generated.When I change the data in any of the textboxes in that row then how should I Update that data to the Database(Sql server) dynamically and display the updated data in the grid.Plzzz provide the code for this and also Is the same thing applies to the delete button.Plzzzzz help..

Thanks in Advance
siri

Reply