|
-
Feb 16th, 2003, 09:24 AM
#1
Thread Starter
PowerPoster
Simple question, Switch to another page.
Hi, I am new in ASP.NET and I have 2 simple question as below:
#1. Is that we use Response.Redirect() to switch from 1 .apsx to another .aspx?
#2. Hos to pass data from one .aspx to another .aspx?
regards,
Chris
-
Feb 16th, 2003, 12:38 PM
#2
PowerPoster
Yes, use the Response.Redirect to change pages when you need to in code. On the page itself, you can just use normal hyperlinks though.
To pass info from one page to the other, there are a couple different ways. You can use cookies, session variables, or a query string. The are all pretty simple to use. For an example of the query string, look up at the address bar. Everything after the ? is the query string.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|