Asp net detailsview itemupdating e newvalues
But when i set up a breakpoint and read changed Text Box value, it is still the old value( the value before Edit button is pressed).
In other words it is not reading Newly entered value during Edit/Update process. New Values is a collection that holds the new values that were entered.
event when an Update button (a button with its Command Name property set to "Update") within the control is clicked, but after the Form View control updates the record.
Every item works fine, except for one parameter ("salesprice") that is missing in the Old Values and New Values argument of the Item Updating event of the formview.
The data DOES pull in to the textbox as it should, formatted properly and all.
You use it to change or update any values, prior to the data being written back to the data store.
You would either access the values via index or key. All the filed value are properly inserted in my MS SQL Server database. New Values["Page Title"] is not providing new value in 'onitemupdating' event. Can anyone say - how can I fix this problem and why e.