C#下拉列表更改事件

 

上面有aspx

 protected void myListDropDown_Change(object sender, EventArgs e) { //stuff that never gets hit } 

我在myListDropDown方法上设置了一个断点但它永远不会被击中。 有什么建议?

DropDownList控件的AutoPostBack属性设置为true

  

DropDownList的Autopostback属性需要设置为“true”。