Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have uploaded image which is successfully uploaded but i want to display that image on image box.plz help me?
Posted

just you should to get the virtual path and image name image, of curse after saving the file .

That set

imagebox.ImageUrl="~ or domain name"+"Virtual path file";
 
Share this answer
 
v2
You can use

C#
imgBox.ImageUrl="~/Images/image1.jpg";


This is your Root Folder :- "~/ "
 
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