Gridview not updating

Posted by / 11-Aug-2020 21:32

Hi, I'm using a Grid View in a C# Web application, but it doesn't update.Now I know the trick is always to check Key Names because 99% of the time that is the culprit, but I believe that is fine.What is happening, is someone is importing an Excel spreadsheet, I am using Open XML to shread the data and store it in a VB. I then run all of that data through a custom validation (based on DB information) and then spit out the exceptions (errors) that occur into a Gridview depending on the exception. the max number is 4 Gridviews in one Update Panel (each Gridview has it's own functionality).

So I have to specify how I want them to appear in the normal view and edit view.Then, I rebind the exception table and the "Ready" table. I have tried just adding an Async Postback Trigger, I have attempted simply calling udp Main. This article scope is limited to Updating and Deleting records using Grid View and I am not using any readymade Data controls for that but manually writing all event methods.I will be using Sql objects directly into methods to keep the example simple and straight forward.

gridview not updating-71gridview not updating-84gridview not updating-73

I understand that this is a very common issue, I have been reading documentation on it for days, and I am about to pull my hair out over this issue.

One thought on “gridview not updating”