在DataGridView选中指定行
            if (this.dataGridView.Rows.Count > 1)
            {
                DataGridViewRow dr = this.dataGridView.Rows[i];
                dr.Selected = true;
                this.dataGridView.CurrentCell = dr.Cells[0];
            }
 
                    
                     
                    
                 
                    
                 
                
            
         
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号