Home All Groups Group Topic Archive Search About

How to put an image in the DataGridView?

Author
11 Dec 2006 1:19 PM
henpat
Hello all
I have a DGV and I need that an icon (image) apears depending the Status
field.
The status field is 0, 1 or 2 and I need to put three different little
pictures on it.

Thanks for your advices.
henpat

Author
11 Dec 2006 7:07 PM
RobinS
Windows forms or web forms? VB2003 or VB2005?

Robin S.
----------------------
Show quoteHide quote
"henpat" <henpa***@hotmial.com> wrote in message
news:uDucAcSHHHA.3676@TK2MSFTNGP03.phx.gbl...
> Hello all
> I have a DGV and I need that an icon (image) apears depending the
> Status field.
> The status field is 0, 1 or 2 and I need to put three different little
> pictures on it.
>
> Thanks for your advices.
> henpat
>
Author
12 Dec 2006 3:30 PM
Brian Tkatch
henpat wrote:
> Hello all
> I have a DGV and I need that an icon (image) apears depending the Status
> field.
> The status field is 0, 1 or 2 and I need to put three different little
> pictures on it.
>
> Thanks for your advices.
> henpat

Look at adding a DataGridViewImageColumn to the DGV.

B.