摘要: publicclassDDL:DropDownListpublicDDL(){if(!this.DesignMode) DataBind();}publicoverridevoidDataBind(){if(List<ML_DDL>!=null){Items.Clear();foreach(ML_DDLiteminList<ML_DDL>){ListItemtemp=newListItem(item.Name,item.Code);Items.Add(temp);}}}当对DDL的下拉项进行编辑的时候(ListItem集合编辑器)、或设置AutoPostBack的值为t 阅读全文
posted @ 2012-07-29 18:34 悦峯 阅读(435) 评论(0) 推荐(0) 编辑