摘要:
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); 阅读全文