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;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment