如题:为了实现不刷新的,droplist联动
string id = dropDownList1.selectitem.text;会提示droplist没有实例化我猜想:  = "<script language ='javascript'>document.submit.dropDownList1.options[document.submit.dropDownList1.selectedIndex].value;</script>";不知道行不行

解决方案 »

  1.   

    http://www.google.com/search?hl=zh-CN&newwindow=1&q=c%23+dropdownlist+%E6%97%A0%E5%88%B7%E6%96%B0%E8%81%94%E5%8A%A8&btnG=%E6%90%9C%E7%B4%A2&lr=
      

  2.   

    用select控件转成RUNAT=SERVER吧...
      

  3.   

    droplist如果是在客户端邦定的在服务器端是不能获取他得值的,你可以在页面上放一个hiden控件,当下拉框改变选中值时,把选中的值放到hiden控件中去,这样在服务器端才能得到下拉框选中的值。
      

  4.   

    Request["dropdownlistName"]可以,神奇啊!