B
Brett Romero
I'm using this to change the color of a row:
dgAppVersionInfo.DataSource = dt;
foreach( int i in gridRowColorChange )
dgAppVersionInfo.Rows[ i ].DefaultCellStyle.ForeColor = Color.Green;
I have only one row in the datatable. gridRowColorChange is a
List<int> with only "0". In the watches, I see the ForeColor for the
above row is set. However, I don't see this come through visually in
the grid. Samething if I try to set BackColor. No affect.
Any suggestions?
Thanks,
Brett
dgAppVersionInfo.DataSource = dt;
foreach( int i in gridRowColorChange )
dgAppVersionInfo.Rows[ i ].DefaultCellStyle.ForeColor = Color.Green;
I have only one row in the datatable. gridRowColorChange is a
List<int> with only "0". In the watches, I see the ForeColor for the
above row is set. However, I don't see this come through visually in
the grid. Samething if I try to set BackColor. No affect.
Any suggestions?
Thanks,
Brett