if (this.dataGridView.Rows.Count > 1) { DataGridViewRow dr = this.dataGridView.Rows[i]; dr.Selected = true; this.dataGridView.CurrentCell = dr.Cells[0]; }
posted on 2010-09-03 15:52 龙少爷 阅读(435) 评论(0) 编辑 收藏 举报