TaleOfTimes
Newcomer
- Joined
- Dec 20, 2005
- Messages
- 15
Hello all,
this is pissing me off. I want to change the style of a single cell in a datagridview control. I'm using this
datagridview1.Rows[0].Cells["Column1"].Style.Backcolor = Color.Blue;
no compilation errors, but then at runtime it completely ignores it and keeps the background color white. The only way I can get anything to happen is by settings the DefaultCellStyle on the column, but I dont want to change the entire column, just ONE cell
thanks
this is pissing me off. I want to change the style of a single cell in a datagridview control. I'm using this
datagridview1.Rows[0].Cells["Column1"].Style.Backcolor = Color.Blue;
no compilation errors, but then at runtime it completely ignores it and keeps the background color white. The only way I can get anything to happen is by settings the DefaultCellStyle on the column, but I dont want to change the entire column, just ONE cell
thanks