在DataGridView选中指定行

            if (this.dataGridView.Rows.Count > 1)
            {
                DataGridViewRow dr = this.dataGridView.Rows[i];
                dr.Selected = true;
                this.dataGridView.CurrentCell = dr.Cells[0];
            }
原文地址:https://www.cnblogs.com/wjhx/p/1817124.html