C
Claes Wedin
I have problems using DataGridViewImageColulmn:
The Image does not show (only a red X is shown).
I tried this:
- Create New WindowsForms app
- In the Form: Drag a DataGridView control to the form
- Add 2 columns and chose DataGridViewImageColulmn for one of them
- In the Properties of this column, select property Image
- Select Local resource and hit button Import
- Select a bitmap file (16x16)
- The Image from the bitmap is shown in the properties
so far everything is fine...
BUT THE IMAGE NEVER SHOW UP IN THE DataGridView!!!
I tried coding everyting with the same result..
I debugged and found that an Image is loaded in the Image property...
I tested also Express version of C#, 2 colleauges have tried
aswell...nothing helps
All with the same result...
WHAT IS WRONG???
The Image does not show (only a red X is shown).
I tried this:
- Create New WindowsForms app
- In the Form: Drag a DataGridView control to the form
- Add 2 columns and chose DataGridViewImageColulmn for one of them
- In the Properties of this column, select property Image
- Select Local resource and hit button Import
- Select a bitmap file (16x16)
- The Image from the bitmap is shown in the properties
so far everything is fine...
BUT THE IMAGE NEVER SHOW UP IN THE DataGridView!!!
I tried coding everyting with the same result..
I debugged and found that an Image is loaded in the Image property...
I tested also Express version of C#, 2 colleauges have tried
aswell...nothing helps
All with the same result...
WHAT IS WRONG???