Geting value from the Dropdown List box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vinodsrvk
    New Member
    • Jun 2007
    • 18

    Geting value from the Dropdown List box

    Hi,

    I have created one dropdown box the first item in the list will be "select a Value" with the value of 0(Zero) and the rest will get filled from the database.

    I am trying to get the value of the selected Item at runtime So that I could pass the value to Database and retrieve some other values accordingly.

    I tried getting the value like Request.Form("d dlRSMNames") but its not working.

    Can anyone suggest me like how can I proceed in this..
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    try[code=asp]for each x in request.form
    response.write x & ": " & request.form(x) & "<br>" & vbNewLine
    next[/code]this is a good way to check to verify that any data at all is sent to the script.

    Let me know if this helps.

    Jared

    Comment

    Working...