if there are some cases into datagridviewimagecolumn like need to display image into first 3 rows and the remianing image column should be empty instead red cross image mark.
set the defaultcellstyle nullvalue property to NULL
for ex:
DataGridViewImageColumn imgCol = new DataGridViewImageColumn();
imgCol.DefaultCellStyle.NullValue = null;
Showing posts with label red cross image mark DataGridViewImageColumn. Show all posts
Showing posts with label red cross image mark DataGridViewImageColumn. Show all posts
Friday, May 29, 2009
Subscribe to:
Posts (Atom)