I have a datagridview with columns being add manually. One of the columns needs have an image which you click on and as a result display a form.
How do I add the image programmatically?
The image at the moment is in a folder called resources one level below the "sln" file and is called "Search16.png"... can I use a .png image??
Dim btnSelectAsset As New DataGridViewImageColumn
to create the image column for the datagridview...
I will use an event handler to show the form.
If you have better way perhaps using a datagridviewbutton with an image etc I am all ears!
Could someone add a few lines of code to show how to add the image into this unbound column.