Value in rowupdating
hello my problem was that my gridview editable controls heep their old values. this is due to the grid view binding in the page_load method after every post back.
So what you need to do is store the data source (maybe in Session) and only bind rebind the data when you absolutely need to (Like during the Is Not Post Back) Do you understand?
Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base.
Count ----------- The most common problem for losing new data entered while updating a Grid View or Data Grid is that you are resetting the Data Source for the Grid View or Data Grid in the Page_Load method. I actually don't know how to write the Row Updating function, I just found it from the internet, and so of course it's not working.
A friend asked me to help him out on this and frankly it has me completely stumped as well.
I have a Grid View control and use old style manual binding with a Data Source property and invoke the Data Bind() method.
If you don't use one of the Data Source controls, you are required to handle the Row Updating event.