2014年2月20日

摘要: private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (this.dataGridView1.CurrentCell.ColumnIndex == 4) //指定选择的字段索引 0 1.2.3.4 { TextBox tb = (TextBox)e.Control; //没指定的话就dataGridView1 内 textbox限制 ... 阅读全文

posted @ 2014-02-20 17:01 Debugshow 阅读(1355) 评论(0) 推荐(0) 编辑