1 private void Form_Load(object sender, EventArgs e) 2 { 3 //取消默认选中行 4 dataGridView1.ClearSelection(); 5 }