Weird ASP Bug – Gridview update does not work if there is somethign in page_load function

In my Gridview, select, insert, delete all were working properly but not Update. Found out that my code in Page_load() was causing this not to work. I removed the code from page load where I as updating the Gridview. The update started working again.

What is weird is there was no error and no indication where the problem was. You have to hunt all possible avenues to hunt for the error.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*