Img Source as a variable

bgreer5050

New member
Joined
Jul 4, 2009
Messages
4
Programming Experience
Beginner
None of the following code lines work. Can someone please point out the correct syntax for using a variable for an image source?

VB.NET:
 <img src='<%strImageFile%>' />
 <img src="<%strImageFile%>" />
 <img src=<%strImageFile%> />
 
Back
Top