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

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -