WEB开发网
开发学院WEB开发ASP.NET 获取checkedListBox 选中的项并且移动 阅读

获取checkedListBox 选中的项并且移动

 2013-01-02 19:34:32 来源:WEB开发网   
核心提示: private void buttonSendChoickedToNosend_Click(object sender, EventArgs e){for (int i = 0; i < this.checkedListBoxSend.CheckedItems.Count; i++){this.checkedL

 private void buttonSendChoickedToNosend_Click(object sender, EventArgs e)
{
for (int i = 0; i < this.checkedListBoxSend.CheckedItems.Count; i++)
{
this.checkedListBoxSiftEmail.Items.Add(checkedListBoxSend.GetItemText(checkedListBoxSend.Items[i]));
this.checkedListBoxSend.Items.RemoveAt(i);
}
}

Tags:获取 checkedListBox 选中

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接