Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2004, 12:46 PM
Registered User
 
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataList original values at update time

How would I access the original value of a textbox in my DataList control at update time?

 
Old February 19th, 2004, 01:40 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I don't think you can unless you save it manually, or can look back into the original data structure for it. The page controls only tell you THAT/IF it changed, but not what it changed from.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old February 19th, 2004, 03:23 PM
Registered User
 
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, planoie!

I put in some more code to reread the original record into another instance
of the data class.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Original Data via DetailsView Update kevorkian ASP.NET 2.0 Basics 5 May 29th, 2008 01:47 PM
Original form SaveAs new doc w/o original VBA ChuckTremain Word VBA 0 February 8th, 2007 02:58 PM
Updating boolean values using datalist Scripts82 ASP.NET 1.0 and 1.1 Basics 1 September 20th, 2006 04:17 AM
DataList Update Cute Designer ADO.NET 3 May 30th, 2006 11:27 AM
accesing values in DataList miguel.ossa ASP.NET 1.0 and 1.1 Basics 7 March 8th, 2004 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.