摘要: 值无效,可能是你下拉框选项,没有这样的值,而你却设置这个值。 dataGridView1.Rows[i].Cells[1].Value = "选项一"; 解决方法就是在窗体的构造函数里添加如下代码: this.dataGridView1.DataError += delegate(object sender, DataGridViewDataErrorEventArgs e) { }; 阅读全文
posted @ 2014-03-23 11:07 大气象 阅读(6734) 评论(0) 推荐(0) 编辑
http://www.tianqiweiqi.com