Fork me on GitHub
摘要: 1.设置DataGridView控件的EditMode属性为EditOnEnter如:DataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter2.添加DataGridView的CellClick事件,逻辑如下:private void dgvColumnMap_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex >= 0 && e.RowIndex ... 阅读全文
posted @ 2012-04-17 10:17 TimGong 阅读(2951) 评论(0) 推荐(0) 编辑