C#设置DataGridView行背景色无效的问题 设置代码 for (int i = 0; i < dataGridView1.RowCount; i++) { if (i % 2 == 0) { dataGridVie