Sunday, 27 February 2011

Gridview - Displaying color


 dataGridView1.Rows[0].DefaultCellStyle.BackColor = System.Drawing.Color.Orange;
            dataGridView1.Rows[1].DefaultCellStyle.BackColor = System.Drawing.Color.Red;

No comments:

Post a Comment