日期:2014-05-18 浏览次数:20892 次
private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e) { if (dataGridView1 .Columns [e.ColumnIndex ] is DataGridViewComboBoxColumn ) SendKeys.Send("{F4}"); }
------解决方案--------------------
EditMode设为EditOnEnter