Thanks for Nauzad's reply.
Hi Jeronimo,
You can also use session so save the entered data. Generally, we use a hash
table to save all the data in it with HashTable.Add() and then put the hash
table into the session, like: Session["input"] = ht;
In another page, you can take out the hash table from the session using
HashTable ht = Session["input"], and continue appending data.
For more information about hash table and session, please refer to the
following links:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemCollectionsHashtableClassTopic.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwebsessionstatehttpsessionstateclasstopic.asp
If anything is unclear, please feel free to reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
--------------------
| From: "Nauzad Kapadia" <
[email protected]>
| References: <
[email protected]>
| Subject: Re: Multi-page data entry with asp.net
| Date: Wed, 12 Nov 2003 01:26:19 +0530
| Lines: 25
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.adonet
| NNTP-Posting-Host: 203.196.249.97
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.adonet:66051
| X-Tomcat-NG: microsoft.public.dotnet.framework.adonet
|
| rather than use multiple pages, use panel controls.
| you can selectively make the panels visible depending on the page the user
| navigates to.
|
| regards,
| Nauzad Kapadia [MVP]
|
|
| | > 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
|
|
|