Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How To assign image url dynamically to asp:image control ????
Posted

Please explain actual requirement..

set image url from code behined
imgMyImage.ImageUrl = "~/images/image.png";
 
Share this answer
 
imgSrvc.ImageUrl="/Images/master.jpg"

but folder image should also present in the same folder of ur page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900