winfrom中DataGridView绑定数据控件中DataGridViewCheckBoxColumn怎么选中

时间:2014-05-16 21:48:31   收藏:0   阅读:393
for (int i = 0; i < this.dataGridView1.Rows.Count; i++)
            {
                this.dataGridView1.Rows[i].Cells["CheckBoxCulums"].Value = this.checkBox1.Checked;
            }

 

winfrom中DataGridView绑定数据控件中DataGridViewCheckBoxColumn怎么选中,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!