I have a DataGridView with an image column. In the properties, I am trying to set the image. I click on image, choose the project resource file, and then select one of the images displayed. However, the image still shows as a red x on the DataGridView? Anybody know why?
I have a DataGridView with an image column. In the properties, I am trying
Share
For example you have DataGridView control named ‘dataGridView1’ with two text columns and one image column. You have also an images in resource file named ‘image00’ and ‘image01’.
You can add images while adding rows like this:
You can also change image while your app is running:
or you can do like this …