Solved

Store Old Value when Update being done on DetailsView

Posted on 2008-10-17
2
576 Views
Last Modified: 2013-12-17
Hi all,

I have a Details view who's data is being retrieved from an Object Data Source.

When Im updating values on this detailsView, I want to store the old values and save them in another table in database. I was just wondering how can I store these old values first in my other table before the update overwrites them.

Thanks.
0
Comment
Question by:caoimhincryan
2 Comments
 
LVL 6

Accepted Solution

by:
pwrBall earned 250 total points
ID: 22742782
0
 
LVL 13

Assisted Solution

by:TechTiger007
TechTiger007 earned 250 total points
ID: 22742823
One thing that you can do is store the updateable fields in another hidden column when the page loads and when the user submits the page you can store the old and new values
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now