Now I will show you the C# code behind file of the above ASP.NET page that will handle different Grid View events to provide complete editing functionality.
This will lead to problems like "Grid View does not show updated values", "Grid View looses values changed by user". In your Page_load, this is typically only inside a block where you check to make sure that Page_Load is not being called during a post-back call.
Hi I have gridview and I am using gridview1_rowupdating event to update the gridview, but when I am using the code given below its not working.
I do not know why it is not updating, it is not even showing error.
The visitors to a web site can typically be divided into two groups: the users and the administrators.
Editing the Grid View control can be an incredibly easy feature to add for certain database tables, especially those who have no foreign key associated and can easily be edited through the use of a standard Text Box web control as shown in the figure below: 1.