Detailsview itemupdating old values

Rated 3.80/5 based on 910 customer reviews

Finally we need to populate the Sort Expression and Sort Direction when they change, and we’ll handle that in the Sorting event.

Also like paging, so show that it does get called, databinding is handled in the Sorted Event ( First, we obtain the User ID of the affected row from the Grid View Data Keys collection, which we use to pull the appropriate record from the database.

I have managed to update the details but, what i want to achieve is the values which have been updated and grab the field name and enter in the database which fields have been updated like email, phone etc.

As with paging, we also reset the Edit Index and Selected Index when sorting.“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots.How to get new updated values from detailsview on item updating event Hi, I have been researching quite a bit but could not achieve a solution to this problem.The item template uses a label control to display the ID number.The edit Item template uses a dropdown list to display the string names associated with each ID.

Leave a Reply