|
-
Jan 23rd, 2001, 01:52 PM
#1
Thread Starter
Member
is the syntaxe for a select case in ASP is the same then in VB???
-
Jan 23rd, 2001, 02:02 PM
#2
Banned
-
Jan 23rd, 2001, 02:05 PM
#3
Black Cat
It should be.
Josh
Code:
Select Case se
Case "yahoo"
Response.Redirect "http://search.yahoo.com/bin/search?p=" & Server.URLEncode(ss)
Response.End
Case "altavista"
Response.Redirect "http://www.altavista.com/cgi-bin/query?q=" & Server.URLEncode(ss) & "&kl=XX&pg=q&Translate=on&search.x=9&search.y=11"
Response.End
Case "lycos"
Response.Redirect "http://www.lycos.com/srch/?lpv=1&loc=searchhp&query=" & Server.URLEncode(ss)
Response.End
Case "excite"
Response.Redirect "http://search.excite.com/search.gw?search=" & Server.URLEncode(ss)
Response.End
Case "northernlight"
Response.Redirect "http://www.northernlight.com/nlquery.fcg?cb=0&qr=" & Server.URLEncode(ss)
Response.End
End Select
-
Jan 23rd, 2001, 02:18 PM
#4
Thread Starter
Member
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
|