how to Use BMP image file for background of winform in c# -


i have winform , use image.bmp background of form , when run happened :

enter image description here

it working problem background of datagridview don't want see behind datagridview how can run form showing datagridview normally?

you need use loop , change color of each cell. after set datasource.

foreach (datagridviewrow row in yourdatagridview.rows)      {          row.defaultcellstyle.backcolor = color.white;      } 

Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -