After I click the update button, I change the value to 150. My gridview is not bound to a Sql Datasource or Object Datasource. Thanks The currency manager is in Windows Forms programming. My hunch is that the Sql Data Source and Object Data Source has provisions to tie into an update method/stored procedure. Text); Unfortunately, it looks like I'm getting the value prior to the edit. Let's say the column value is 15 before I click the update button. To String() also, but that might have got me a blank string instead. If you find a solution, or if the above helps, please let me know. This is all started from the Data Tutorial series found on the website. tabid=63Maybe I should look into using the Get Products method with an Object Data Source and see how that works.I've deleted the datasource and gridview and started again from scratch, but I still get the same problem.Now, when an user edit a row then click update, I'm having problem getting the new values in gridview's rowupdating event, it always returns the old values.I believe that databinding on every postback is the cause but that's not something that I can change right now, same goes with the autogeneratedcolumns setting.Now Text Box1 is set to post back when I click the button on the screen.
I'm in a similar boat...almost the same conditions. NET 1.1 that the datagrid had something called a Currency Manager...it looks like the object still exists in 2.0.
AARP_DATA_D1_Bill Matri It still gets the old values, when I loop thru the Dictionary and in debug step thru it I see it still gets the original values not the new values that the user enters when they are changing each item.
// Iterate through the New Values collection and HTML encode all // user-provided values before updating the data source. New Values) guru_sami, sorry it took me so long to get back, I have been off on vacation and just got back, but yes you are right on, I went back and debugged the entire postback and it was rebinding the grid on postback on the page_load event.
I'd like to know if there are any other ways to retrieve the new values?