是在 WinForm 中谢谢

解决方案 »

  1.   

    循环判断啊
    for...
    然后在里面找到checkbox. 用findcontrol方法或者cell[x]..的方法
      

  2.   

    你试了吗
    在 WINFORM 不行啊 
    在 aspx里可以
      

  3.   

    dataGridView1.Rows[0].Cells[0].Value
    Checked=true为1
    Checked=false为0
      

  4.   

    foreach (DataGridViewRow dr in dataGridView1.Rows)            {
                    if (dr.Cells[0]!=null)
                    {
                        if ((dr.Cells[0].Value.ToString()) == "true")
                        {
                            
                            MessageBox.Show(dr.Cells[0].Value.ToString());
                                                                                                             }
                      
                    }
                  
                }
    怎么老是有异常