![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CheckBox
brian0031
这个作者很懒,什么都没留下…
展开
-
dataGridView增加复选框
DataGridViewCheckBoxColumn dtchk = new DataGridViewCheckBoxColumn();dtchk.DataPropertyName = "chk";dtchk.HeaderText = "";dataGridView1.Colum原创 2011-07-15 16:59:38 · 848 阅读 · 0 评论 -
dataGridView中的反向选择, checkbox
private void reversed_ToolStripMenuItem_Click(object sender, EventArgs e){ foreach ( DataGridViewRow drw in this.dataGridView1.Rows) {原创 2011-07-18 09:22:20 · 609 阅读 · 0 评论 -
dataGridView中checkbox选择全部(全选,全部选择)
private void all_ToolStripMenuItem_Click(object sender, EventArgs e){ this.textBox1.Focus(); for (int i = 0; i { this.dataG原创 2011-07-16 15:24:34 · 2466 阅读 · 0 评论 -
获取datagridview中checkbox选中的多行数据
private void button2_Click(object sender, EventArgs e) //打开BOM查询{ form2 f2 = new form2(); //第二个表单form2 f2.ShowDialog(this); dataGri原创 2011-07-20 13:46:12 · 7677 阅读 · 1 评论