前提:把DataGridView的属性SelectionMode(--指示如何选择 DataGridView 的单元格)设置为:FullRowSelect
1,选中DataGridView中指定的数据行:
(1),选中DataGridView的索引值为i的数据行。
this.dgvTVWallLink.Rows[i].Selected = true;
(2),选中DataGridView的行索引值为i,列索引值为j的数据行.
this.dgvOperList.Rows[i].Cells[j].Selected = true;