yes, for instant 触发, you need to set AutoPostBack="true", otherwise, it will be 触发ed next time you postback

解决方案 »

  1.   

    那我想把两个dropdownlist关联起来每次都要post那不是很慢?
    有其他的办法能有效地解决两个dropdownlist关联的问题吗?
      

  2.   

    if you have to retrieve the data from the database everytime you change the selection, then you have no choiceotherwise you can embed the data in the form and change the dropdownlist on the client side dynamically with DHTML/Javascript. But be warned, you may have to use Request.Form["DropDownList1"] to retrieve the selection instead of the convenient DropDownList1.SelectedItem.Value