Hi,
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
Bitmap(@"D:\Images\xyz.gif");
DataGridViewImageColumn dgvICol = new DataGridViewImageColumn();
dgvICol.Image = bMap;
dgvOrders.Columns.Insert(5,dgvICol);
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
bvin...@tvsinfotech.com