DataGridView by Mailo

Change DataGridView Cell Color

To change the color of a cell use the following snippet

dataGridView1.Rows[rowIndex].Cells[columnIndex].Style.BackColor = Color.Green;

Comments