GridView Buttons not Working?

In my experience, the most common reason for Buttons in a GridView not working is that data is being bound to the GridView during the postback.

In other words, the code looks something like this:

When it should look like this:

Leave a Reply

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