当前位置: 代码迷 >> ASP.NET >> 超简单有关问题:怎样将DropDownList中的值清空
  详细解决方案

超简单有关问题:怎样将DropDownList中的值清空

热度:8608   发布时间:2013-02-25 00:00:00.0
超简单问题:怎样将DropDownList中的值清空?
如题.

------解决方案--------------------------------------------------------
DropDownList1.Items.Clear();
------解决方案--------------------------------------------------------
this.DropDownList1.Items.Clear();
------解决方案--------------------------------------------------------
this.DropDownList1.Items.Clear();

------解决方案--------------------------------------------------------
同上
------解决方案--------------------------------------------------------
楼上的兄弟都太快了
------解决方案--------------------------------------------------------
this.DropDownList1.Items.Clear();
------解决方案--------------------------------------------------------
document.getElementById( "DropDownList1 ").InnerText= " ";
  相关解决方案