Rowupdating event in asp net

by  |  11-Mar-2020 20:39

If we move our mouse on to the variables, which hold the cell values, we can see the old value instead of new updated value (Refer the debugging Screen Shot at the Top).

Hi all, I can't seem to find a post relating to the Row Updated event not firing.

A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.

rowupdating event in asp net-27

A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.

For a while now I’m trying to figure out why my method, triggered by the Grid View.

I don't know how many controls do I have to create and I don't know what kind of control will it be. I know that the problem is that I create the controls in the Page_Load.

What happens with this is that the source is being created every time the user submits the page.

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.

Community Discussion