Rowupdating newvalues empty

Rated 4.19/5 based on 842 customer reviews

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.Scenario: I am using the Row Updating Event of the Gridview to do updates because I need more flexibility than the SQLDatasource Update provides.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.Grid View was filled with the old values again, so in my Grid.Thanks, Van Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.

For a while now I’m trying to figure out why my method, triggered by the Grid View.It gets into the "On Row Updating" event just fine, but there are no New Values or Old Values.Regarding on the Grid View control's Row Updating event problem, it is the expected behavior because when we do not associate Grid View(or other ASP.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.

Leave a Reply