Solved

Store Old Value when Update being done on DetailsView

Posted on 2008-10-17
2
579 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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