Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I am designing a wpf application, I want to bind the images dynamically via c# whem content loads, but I am doing in Click One application. So now I am unable to access the images from that Click One App.
please suggest me the best ways to access the images like Resources or else any other way. In case if you go for Resources folder. Please let me know how to add and access the images from it.

Thanks in advance!
Posted
Comments
govardhan4u 30-Oct-14 10:17am    
Where do you want to store the list. In DB or Config or hardcode the path in the cs file ?

1 solution

for that you have to follow bellow instruction :

1) right click on Image

2) then click on Properties

3) in that Advance

-> Build Action as Embedded Resource

which will make your image as Resource inside project
 
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