Hi all
I m using asp.net 4.0. In my data list i have used asp image tag like below
<asp:Image ID="imgSmallPics" runat ="server" ImageUrl ='~/AdsPictures/<%#Eval("pictureName")%>'
where AdsPictures is folder where images resides and pictureName is name of image return by query.
Image is not shown, when i copy url of image its http://localhost:2846/AdsPictures/%3C%25#Eval(%22pictureName%22)%25%3E
but when i use html image tag
<img src ="../AdsPictures/<%#Eval("PictureName") %>" width ="44" height ="45" />
its working fine.
How can i achieve it through asp image tag.
Regards