判断修改的中的值,用前面的,否则容易获得空值;this.dataGridView1.Rows[i].Cells[0].EditedFormattedValue; VS bool b = (bool)this.dataGridView1.Rows[i].Cells[0].Value;

判断修改的中的值,用前面的,否则容易获得空值;this.dataGridView1.Rows[i].Cells[0].EditedFormattedValue;  VS     bool b = (bool)this.dataGridView1.Rows[i].Cells[0].Value;

原文地址:https://www.cnblogs.com/qqhfeng/p/4830200.html