Ken H

Ken H

  • NA
  • 646
  • 354.5k

How to insert images in dataGridView cells in C#?

Aug 25 2014 9:23 AM
Hello friend,
    I had this requirement, I need to insert images in the dataGridView, It's path stored in the table.
In addition,When the mouse moves  to the photo area, the picture will be enlarged.

Table structure looks like this:
 
 ProductId  ProductName  ProductPicturePath Qty
 1  Product1 C:\MyImages\Product1.jpg  50
 2 Product2 C:\MyImages\Product2.jpg  10
 3 Product3 C:\MyImages\Product3.jpg 5

Please provide any good solutions.

Thanks.  

Answers (3)