Click to See Complete Forum and Search --> : Select Case???
Padrino
Jan 23rd, 2001, 12:52 PM
is the syntaxe for a select case in ASP is the same then in VB???
pactalon
Jan 23rd, 2001, 01:02 PM
Certainly is!
JoshT
Jan 23rd, 2001, 01:05 PM
It should be.
Josh
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
Padrino
Jan 23rd, 2001, 01:18 PM
thankz
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.