Dear All

I am using several DataGridView's in a VS 2008 c# project. I set the defaultcellstyle in the properties pane, inluding the fore and background colors.

This seems to work ok initially however if I clean and rebuild the solution, the defaultcellstyle fore and background colors revert to that of the container control which in this case is a groupbox.

Has anybody come accross this behaviour before ? And any ideas on how to get round it ?

regards

simon