I have the following code that I want to use to display an image in a DataGridView cell:
dgvInventory.Item(7, i).Value = My.Resources.ResourceManager.GetObject("picture")
But instead of displaying the required image, it writes System.Drawing.Bitmap in the cell in the cell.
Please note that the DataGridView table was created at run time, so I know I am supposed to change the column property to be an DataGridViewImageColumn but I just could not figure out how to.
Thanks in advance
Please I really need help with this.
dgvInventory.Item(7, i).Value = My.Resources.ResourceManager.GetObject("picture")
But instead of displaying the required image, it writes System.Drawing.Bitmap in the cell in the cell.
Please note that the DataGridView table was created at run time, so I know I am supposed to change the column property to be an DataGridViewImageColumn but I just could not figure out how to.
Thanks in advance
Please I really need help with this.