it happens when i change the DataSource.
i have checked everything(stack traces, all exception information, datasources, grids, all the threads, etc) i have also write lots of diagnostic code(+3000 line)
it seems to be a virus, it is going to destroy everything in my app.
all grids are going to have the very same error.(while i have not changed any of the code).wtf .
it makes my datagridviews to have an red X on them.
The red X is .net’s way of showing that an error occured in the drawing of the control code.
See these articles 1, 2, 3 for some hints on the possible causes/what you can do about it (if those links don’t help googleing “datagridviews have an red X” brings up a lot of reading material).