On opening a form (and the DataGridView in it), I try to set the back color of my entire first row as follows :
DataGridView1.Rows(0).SelectionBackColor = Color.BlanchedAlmond
However, this seems not to be correct. I have tried several alternatives, but no luck so far.
Anyone who knows the proper coding ?


Reply With Quote