Mulit-Page database entry form

J

Jeronimo Bertran

Hi,

I have a database record with a very large number of fields that need to be
entered so I need to write a data entry site using asp.net that will divide
the fields into multiple pages. Once all the pages have been entered the
user may save or cancel. How can I retain the values entered on previous
pages?

Thanks,

Jeronimo
 
S

Steve C. Orr [MVP, MCSD]

The simplest way is to combine all your "pages" into a single page with an
individual panel representing each page. You can then show and hide each
panel in succession. This keeps all your data on one page, thereby
simplifying things considerably.
This should work well as long as you don't have more than a few such pages.
If you've got more than that then you'll need to resort to a more complex
solution, such as storing the data in temporary tables between pages, or
storing the data in Session State or hidden fields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top