Preview page- how to save data?

Camillia
Camillia used Ask the Experts™
on
I have a job application wizard. I have personal info, paste resume, employment section, education section.

User clicks next, next and fills the info. On the last page, we have "preview page" where data from all 5 steps are displayed...

How can I save the data in each step and display on the last page? session might not be good...too many fields to be in session...i thought about just saving each step in a table (preview table)..and save/pull preview data from this table...then do a save to the main tables...but not sure if this is good solution....

any ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hi,

I would suggest you write data in an XML as soon as user navigates to the next section. So the XML would be building and lastly you can preview the whole profile and save data to Database and then dispose of the XML file.

great idea...do u have a simple example of writing to XML?

Commented:
This article will help you to get started:
Reading and Writing XML in C#
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

how about using a datatable? would that be doable?

Commented:
Than where would you keep datatable for multiple pages?
In session? that would be heavy if the number of users go high.
yeah, didnt think of that...thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial