Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 December 2nd, 2008, 01:43 PM
Authorized User
 
Join Date: Oct 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Save and Return

Hi Imar,

In your book ASP.NET 2.0 instantresults Chapter 9, I would like to have "Save and Finalize Later" and "Finalize Order"(exist one). How can I have this "Save and Finalize Later" function? I mean when I return to this site a few days later, I would like resume with previously saved items.
Your kind advices would be appreciated.

Thanks,
HD

 
Old December 2nd, 2008, 02:14 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

There are roughly two ways to do this:

1. Store the cart data in a database as relational data. Create a ShoppingCart table and a ShoppingCart item table and then store user and item data in these tables when the user invokes the "Save and Finalize Later" functionality.

2. Serialize the shopping cart and store it in a single column in the database. Less flexible, but a lot easier to develop. Search Google for ".NET serialization" to learn more.

Hope this helps,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
need some help please getting a return value merk ASP.NET 2.0 Basics 4 October 3rd, 2007 07:10 PM
Javascript Function return save in XSL Variable Vrokad XSLT 2 June 2nd, 2007 02:54 AM
How to get value when procedure return value akumarp2p SQL Server 2000 2 May 29th, 2007 11:30 AM
How to return "0" instead of #Error guizero Access 9 June 2nd, 2006 12:52 PM





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