Getting the new value in gridview rowupdating

Rated 3.97/5 based on 877 customer reviews

Text "" Then str Params = "(" & str Params & ") AND (ECADdesigner Names ='" & Me. Text & "')" End If End If 'WHY NOT USE Drop Down List4. 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.

To get both the old and the new value of a field named unit_price, (for the example as a String.Unless they are Key fields, there isn't really a way to get to these. Data Bind in Row Updating (or at least before the Update is actualy processed) is better not done.Hi there, I have the same problem and I checked the e. Text) but i am getting all the old values stored in the gridview when the grid was loaded , kindly suggest.Adapt to match the actual type.) Also note that values for Read Only fields will not make it into these Dictionaries.

Leave a Reply