for(int a = 0; a 1.Rows.Count; a++)

            {

                if (a % 2 == 0)

                {

                    this.dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Aqua;

                }

            }