dataGridView1.AllowUserToAddRows = false 将dataGridView属性里的AllowUserToAddRows 值设置为 false ...