Gridview rowupdating new value povremeni dating
Are you using any function to bind the gridview or something like that?and if you are using that function in page_load event then you wont get the updated value cause on postback it rebinds ur gridview and you will lose ur updated value.When all you've got is a Hammer, Every Problem looks like a Nail. i am getting old values in the rowupdation in gridview , while clicking over the update button , in my code behind i am using below code to get value. Find Control("txtunit_price") 'Reset the edit index. To get both the old and the new value of a field named unit_price, (for the example as a String.
This has dictionaries for key-, old- and new-values.Please remember to click “Mark as Answer” on the post that helps you.