PDA

View Full Version : Drop Down List


jeena
06-05-2003, 03:20 AM
I need to output a statement in a page B depending on the drop down list in page A(Meaning that if a particular option is selected, a statement will be displayed on page B upon submition of form A)

Any ideas how I can do that!!!!!

bostjank
06-05-2003, 07:58 AM
'read the value of drop down list
sDropPageA = Request.Form("DropDownControl")

'check the value of a variable
Select Case sDropPageA
Case "1"
Response.Write "You selected number 1"
Case Else
...
End Select

jeena
06-05-2003, 09:03 AM
Yes,it works....
Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!!!:thumbsup: