what i am trying to do is display an image in a repeater. I am getting the image name from the database but i am trying to reference the image name from a image folder, at the moment this is what i have:
<asp:Image ID="Image1" runat="Server" ImageUrl='~/Images/<%#DataBinder.Eval(Container.DataItem, "ProductImage")%>' />
but it is not working, only the image name is displayed in the repeater.
Please any help will do guys.
Thanks alot in advance!
Try