摘要:
ListBox控件属性介绍:SelectIndex:当前选中的列表项的序号。SelectItem:当前选中的列表项。清除列表框中全部的列表代码://获取列表框的选项数 int count = ListBox1.Items.Count; int index = 0; //循环列表框中的列表数 for (int i = 0; i < count; i++) { ListItem item = ListBox1.Items[index]; //移除列表框中的列表项 ... 阅读全文
posted @ 2012-04-10 23:34 乌雲安全 阅读(17856) 评论(3) 推荐(2)
浙公网安备 33010602011771号