Rowupdating is not fired in gridview

I think if we do the same thing on page load event it work because value is set when row updating event is fired. This means that all of the data that the user provided for the row that they are updating is loaded into the ASP.

When this event fired it saves the values at their view state & this view state is sent to the client. NET controls used to access the data in your C#/VB. If you do a Data Bind in the Page Load event then all of this data is lost!

Edit: if you do a Data Bind in the Page Load event every page request all of your data will be lost It's the most common problem that people have with Grid Views that I've noticed.

rowupdating is not fired in gridview-70rowupdating is not fired in gridview-6

you also check this link please , by thw way ur link is not working. So, the View State with all of the data for your Grid View is loaded just after the Init event.

I'm not even sure you have a question at this point...

:) -Frinny @Frinavale Frinny I send You a code , By the way You are so senior & i respect each & every word which you are writing for me....

Data Source property to the object you are using..call the Grid View.

Data Bind method to bind the Grid View to the data source.

Leave a Reply