Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In the Name Of God
Hi
in winform of C#
How to bind a list to Physical place

I want when I select the datagrid rows images appear on the FlowLayoutPanel
My Images are on a physical drive and I have a list which contain titles of images
Posted
Updated 15-Jun-14 22:35pm
v2

1 solution

So basically you want to load an image from disk ?

In that case you need the path to the file, be it relative or absolute. (Check here[^])

With that URI you can load a normal image (bmp, jpeg, gif, ...) into the picture box.

Check the Image[^] class or the Bitmap[^] class to load the image in memory.

Finally you can attach the image to the PictureBox[^] control.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900