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;
Friday, May 29, 2009
Subscribe to:
Post Comments (Atom)
Thanks for the tip. Just what I wanted.
ReplyDelete