How do I transfer simple parameter from one ASP.Net page to another? -


The course is taking me in. He has taught me to use the feedback. Redirect like this:

  Response.Redirect (String.Format ("? Name.aspx sb =" + BTS + "& del =" + delimiter ");   

Is there a better way to do this?

Specifically, the one you are discussing is the means of transferring the state between the pages . This can be done in a number of ways:

  1. The query string parameter is the equivalent of the actions that you made in your post.
  2. Sessions In this scenario, you will populate a session variable on one page and then recover it on another.
  3. Cookies
  4. If you directly post to the page in question, then the form variables

Comments