asp.net DropDownList 选取选中事…

来源:互联网 发布:盛世景 知乎 编辑:程序博客网 时间:2024/06/06 09:06

在asp.net的DropDownList 控件中.想让DropDownList下拉选中后激发事件.

1.先将DropDownList的autopostback=true
asp.net <wbr><wbr>DropDownList <wbr><wbr>选取选中事件

2.在DropDownList的SelectedIndexChanged事件中插入你想实行的代码.

asp.net <wbr><wbr>DropDownList <wbr><wbr>选取选中事件

0 0