Saturday, March 24, 2012

open a new page

Very Simple:

Sub OpenPage
if x = 0 then
open ../page1.html
else if x = 1 then
open ../page2.html
end if
End Sub

could someone please tell me the correct syntax for this?
ThanksResponse.Redirect("../page1.html")

MATT wrote:

Quote:

Originally Posted by

Very Simple:
>
Sub OpenPage
if x = 0 then
open ../page1.html
else if x = 1 then
open ../page2.html
end if
End Sub
>
could someone please tell me the correct syntax for this?
Thanks


You can use Response.Redirect or Server.Transfer to send the user to a new
page.

Here's more info:
http://SteveOrr.net/faq/TransferRedirect.aspx
--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
"MATT" <MATT@.discussions.microsoft.comwrote in message
news:05BD28AC-B2F2-467B-B636-74F0816C0BA0@.microsoft.com...

Quote:

Originally Posted by

Very Simple:
>
Sub OpenPage
if x = 0 then
open ../page1.html
else if x = 1 then
open ../page2.html
end if
End Sub
>
could someone please tell me the correct syntax for this?
Thanks

0 comments:

Post a Comment