I’m trying to get several values into an imageurl by using a repeater and Eval.
This is what I’ve got now:
ImageUrl='/images/<%# Eval("OneId") %> + "/" + <%# Eval("TwoId") %> + "." + <%# Eval("Extension")%>'
This is what the url becomes:
img src="/images/<%#%20Eval("CarId")%20%>%20+%20"/"%20+%20<%#%20Eval("ImageId")%20%>%20+%20"."%20+%20<%#%20Eval("Extension")%>">`
And this is what i would like to get out: /images/4578/123478.png
Anyone know how I should do it?
It will work and make your code more readable