How Do I Change the BackColor for DataGridView Cells?

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

I can't figure out how to change the background color for cells in a
DataGridView. I've tried the obvious, but it doesn't seem to work:

MyDataGridView.Item(1, 1).Style.BackColor = Drawing.Color.Red

Any suggestions?


-TC
 
Back
Top