设置DataGridView单元格获得焦点
1 this.dgv_prescription.CurrentCell = this.dgv_prescription.Rows["行号"].Cells["列号/列Name属性"];
2 this.dgv_prescription.BeginEdit(true);
设置DataGridView单元格获得焦点
1 this.dgv_prescription.CurrentCell = this.dgv_prescription.Rows["行号"].Cells["列号/列Name属性"];
2 this.dgv_prescription.BeginEdit(true);
转载于:https://www.cnblogs.com/cbread/p/5687274.html