Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
03-27-2011, 01:36 AM #1
How do I pass data from one page to another page to a final page?
I have three pages, the first two collect data via forms and the third page displays the collected data.
Form One (Registration Form)
<form id="registrationForm" action="DegreePrograms.aspx" method="get" runat="server"> ... </form>
<form id="DegreeForm" action="RegistrationComplete.aspx" method="get" runat="server"> ... </form>
* No good deed goes unpunished.
* Cheer up, the worst has yet to come...
03-28-2011, 04:17 PM #2
- Join Date
- Apr 2009
- Thanked 20 Times in 20 Posts
Please research about usage of the Get and Post methods in .NET (plenty of examples out there). If your form(s) have alot of fields, I would suggest using the Post method, since the Get method allows for only 255 character length to be passed (if I remember correctly). Plus, if you're looking for more security, you don't want to be passing the stuff in a string for all to see (and play with). Anyway, in your first two forms, change the action attribute to point to your third page, where you will pick up the data via server-side code.
04-15-2011, 09:12 AM #3
- Join Date
- Feb 2011
- Thanked 0 Times in 0 Posts