我用第一个DropDownList来触发添加第二个DropDownList的item内容

我在DropDownList1选定item"湖南"
然后要在DropDownList2中添加项目"长沙 岳阳 湘潭 衡阳....."
怎样实现呢?谢谢!!!感激不尽!!!!

解决方案 »

  1.   

    DropDownList1的SelectedIndexChanged事件
      

  2.   

    用DropDownList1的SelectedIndexChanged事件来触发
      

  3.   

    在dropdownlist1的selectindexchange事件中操作
      

  4.   

    建议用JS+XML,这样在选择的时候页面就不会刷新,具体的代码csdn上应该有的如果用selectindexchange也可以,不过页面会刷新,另外如果用selectindexchange,要把dropdownlist的Autopostback设为true