C# DataGridView 编辑单元格保存时防止单元格在编辑状态而产生空值

DataGridViewCell cell=this.dataGridView.CurrentCell;
this.dataGridView.EndEdit();
this.CurrentCell = null;

posted on 2012-06-19 15:44  空白画映  阅读(3294)  评论(1编辑  收藏  举报

导航