摘要: 1.在前天添加两个控件DropDownList和TextBox,在后台给DropDownList赋值和属性的值View Code DropDownList1.Items.Add(new ListItem(" ", " ")); ListItem item = new ListItem("1+1", "1");//绑定value item.Attributes.Add("key", "2");//绑定属性的value DropDownList1.Items.Add(item); 阅读全文
posted @ 2011-08-11 09:45 bule 阅读(1029) 评论(0) 推荐(1) 编辑