Solved

Store Old Value when Update being done on DetailsView

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Latency in .net app using DB in .net 21 34
How to use odbc in vb to connect to ms sql 14 38
Class object 2 27
Help with LINQ and XML 10 27
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

20 Experts available now in Live!

Get 1:1 Help Now