Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir,
my problem is that i save a image in a folder(Joint) where another folder created with his Id than photo is save.
so i want to display that photo like that

HTML
<img alt="" border="0" height="100" src='../Admin/AdminImage/Photo/Gallery/JOINT/<%# DataBinder.Eval(Container.DataItem,"JointImageName") %>'
 width="100"  title='<%# DataBinder.Eval(Container.DataItem,"JointImageName") %>'>


with the help of DataList but it not working.
can you told me why that will be happen.I am very thankful to you.
Posted
Updated 16-Jan-12 19:22pm
v2
Comments
Prerak Patel 17-Jan-12 1:27am    
Can you show some example values for JointImageName?

1 solution

hello friend,
as you say above,
"i save a image in a folder(Joint) where another folder created with his Id than photo is save."
So pass the link of the images that you have saved in the Joint folder.
And in your solution you also missing the image-file name.
You just passed the next folder than 'Joint'.

So finally as Prerak patel said please pass the example values for that images.


hope.. you will get your solution in the next.
 
Share this answer
 
Comments
Rohit Sharma706 19-Jan-12 3:07am    
Thanks for reply

i already pass the link of the images that i have saved in the Joint folder.like
that one (../Admin/AdminImage/Photo/Gallery/JOINT/) but in JOINT folder again a folder create with id of image like folder name 1 and than image is save 1.jpg.
this is overall process.i hope you understand.
thanks.

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