把这个事件加上就不报错了,类似下面:
private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e) { e.Cancel = true; }