Monday, December 17, 2007

How to link to another page

How to link to another page

- We can use the Response.Redirect to link to another page:

<%

Select Case inChoice

Case 1 'If the value is 1 Then go to "Page1.asp"

Response.Redirect "Page1.asp"

Case 1 'If the value is 2 Then go to "Page2.asp"

Response.Redirect "Page2.asp"

Case 1 'If the value is 3 Then go to "Page3.asp"

Response.Redirect "Page3.asp"

End Select

%>

No comments: