if (dataGridView1.Rows.Count > 0)
           dataGridView1.Rows[dataGridView1.Rows.Count-1].DefaultCellStyle.BackColor = Color.Red;