is the syntaxe for a select case in ASP is the same then in VB???
Printable View
is the syntaxe for a select case in ASP is the same then in VB???
Certainly is!
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
thankz