In rowupdating event of

After searching long and hard I found a great article that solved my issue.

Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.

My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.

I have set the requisite attributes in the Grid View tag.

I have a Gridview with Auto Generate Columns="False".

To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.

i know its not an answer to what you are asking, but for the next time it would be a lot more easier to use the entity framework and bind it to the grid...

Find Control("Text Box1"))); All this coded thing is not working.

event is raised when a row's Update button is clicked, but after the Grid View control updates the row.

This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the update operation, whenever this event occurs.

846

Leave a Reply