2
Reply

web variable access

scampercat

scampercat

Oct 27 2011 9:51 AM
1k

Since this is the first 2010 asp.net webform application that I am writing in C#, I have a question. For this application, I am adding some web pages to the existing company website.

In this web app the user clicks the ' next button' when they have entered data on the first page. When the user clicks the next button, I do a Response.Redirect("~/programnnme.aspx"); for the user to proceed to the next web page for processing. However when the user starts processing on the second page, I need to display the values they entered in the database on the previous webpage.

Thus what is the best way to keep the values just entered available for the next web page? Can you explain this to me and/or give me a url that I can use as a reference?

I do not think using 'global' values is a good idea from what I have read on the internet.


Answers (2)