移除 CheckBoxList 所有Item

         for (int i=chkkeywordList.Items.Count - 1; i >=0 ; i--)
            {               
            chkkeywordList.Items.Remove(chkkeywordList.Items[i]);
            }

        每次删除时Item 的index会变化所以要从后往前删

posted on 2012-07-13 10:18  缘来  阅读(171)  评论(0)    收藏  举报

导航