How to dynamically insert an image into the column of a GridView row

I have a dynamically created GridView control in my Windows Forms application. Basically I set the GridView data source equal to a DataTable
object. Everything works well. Basically my data reader object consists of two columns of data, where the first column of data is empty.
I wanted it to be empty, because somehow I would like to insert an image into the first column before the windows form with the GridVIew is
displayed to the screen.Below is some of the code which will give you an idea of what I am doing.

So basically my question is how can I dynamically insert an image into an GridView row of the first column.




Dim table as New DataTable()
Using Command as New SqlCommand(mySqlQuery,connection)
connection.Open()
Using reader As SqlDataReader = command.ExecuteReader()
table.Load(reader)

   DataGridView2.DataSource = table ' populate the grid
LVL 2
brgdotnetcontractorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

it_saigeDeveloperCommented:
I covered one method in a previous EE PAQ (it's even in VB.NET):  http:/Q_28683159.html

-saige-
brgdotnetcontractorAuthor Commented:
Hi Saige. This is something a little different actually. Let me give some consideration in to how I want to reword the question. Thank you for your help!
it_saigeDeveloperCommented:
Not a problem.  Once you determine your wording, we can provide a better solution.

-saige-

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.