在DataGridView的CellEnter的事件中添加如下代码即可: if (e.ColumnIndex == dataGridView1.Columns[ ( 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交