Quick formatting question: My datagridview's image columns display the broken-image picture if there's no image. How can I make them just display nothing instead?
Printable View
Quick formatting question: My datagridview's image columns display the broken-image picture if there's no image. How can I make them just display nothing instead?
This is a bit of an educated guess but I think that you'll need to set the DefaultCellStyle.NullValue property of the column to Nothing.
No dice; that only seems to change the null value of text cells.
She cannae take it Cap'n!
There has to be a picture there of some sort. If you don't supply one then it's the red X. I suppose you could create an image that's all white (or whatever your background colour is)!