VB.NET Datagrid with pictures



Guys I could really use some help with this. I think that it's
probably a simple solution but I haven't been able to find anything.

I have a datagrid on my form that I populate via code like this...

Me.My_DataGrid.Rows.Add(Column1, Column2, Column3)

Well now I have a datagrid that I want to populate with an image.

So for example...

Me.My_DataGrid.Rows.Add(Column1, Column2, Picture)

How do I do this?

I know I can change the "column type" to an "image" column but how do I
add one with code?

The next best thing would to be able to statically add an image and
make it visible or invisible by row.

Any advice would be appreciated.

.


Loading