ImageUrl syntax
Hi,
I'm using a datalist and i have an image control in it.
I want the image Url to point to the pictures(.jpg)i saved under a folder named image based on a employee names from a database.
How do i do that?
Ex:i want my image URL to be C:\Website\Image\Bob.jpg
I roughly remember using a syntax somthing like this
ImageUrl='"~\Image"+<%# Eval("name")%>+".jpg"'
And it worked that time,but now when i try using it again,It just didn't work out as expected anymore.Please advice.Thanks
alvin
|