By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,134 Members | 1,315 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,134 IT Pros & Developers. It's quick & easy.

Insert an Image in the specified cell - DataGridView

P: n/a

I'm using DataGridView in my Windows Forms project. I need to know
how we can
insert an image into the specified cell [row,column].
I tried with the following code.
Bitmap bMap = new
DataGridViewImageColumn dgvICol = new DataGridViewImageColumn();
dgvICol.Image = bMap;
this is inserting image in all the rows of the specified column.
But i want to insert it in the RowHeaderMouseClick event that time i
know which row is clicked and already i have the column index Now i
want to insert the image in the specified cell. How Can i do this? If
anybody knows the solution please let me know it.
Thanks and Regards,
Vinothkumar B

May 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.