DropDownList1 .cs指定初始值

DropDownList1.Item.Inset(0,"李四");//这是插入第一个值为李四;
DropDownList.Items.FindByValue("李四").selected = true;//这是调用findbyvalue方法指定初始值;

posted @ 2016-04-22 09:58  &慧&  阅读(214)  评论(0编辑  收藏  举报