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

Leave a Comment

All fields are required. Your email address will not be published.