I am trying to retrieve a path string from my web config file and use that plus the file name to get the url of the image I need. I think it should be something like this:
<asp:Image ImageUrl ='<%# System.Configuration.ConfigurationManager.AppSettings["AppPath"] + "&Images/headerbk01.jpg"%>' runat ="server" width="983" height="265" />
Which gives me an empty string for the source.
Edit:
Now using this:
<asp:Image ImageUrl ='<%=System.Configuration.ConfigurationManager.AppSettings["AppPath"]+"&Images/headerbk01.jpg"%>' runat ="server" width="983" height="265" />
Produces this as html:
<img style="width: 983px; height: 265px;" src="<=System.Configuration.ConfigurationManager.AppSettings["AppPath"]+"&Images/headerbk01.jpg"%>"/>