PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataGridView - Unbound Data - Displaying Images or Icons
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
DataGridView - Unbound Data - Displaying Images or Icons
![]() |
DataGridView - Unbound Data - Displaying Images or Icons |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello,
I have an unbound DataGridView on a VBForm, and I would like to display an icon or image in the first column of a record to indicate what type of record it is. For example, error (display an error icon), warning (display a warning icon), information (display an information icon). I have these icons custom-made in .bmp form, and they are the dimensions of a regular icon. I would like to be able to use an ImageList on the form to hold these images/icons, and have the code access them from this location as opposed to going to the hard- drive. Can anyone send me a snippet of code, or give me some advice on how to do this? Thanks Sam |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

