Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi i have taken a file upload control,and a separate button named as upload,and an image control.once i select any image using file upload and when i click that upload button. Then the selected image has to be loaded in image control.please help me how to complete this task.
thank you
Posted
Updated 13-Mar-12 3:08am
v4
Comments
El_Codero 13-Mar-12 9:08am    
too many iii's, seperators and plsssss. Removed it for better reading.
Tejas Vaishnav 13-Mar-12 9:09am    
formatting text and provide proper tag.
Tejas Vaishnav 13-Mar-12 9:10am    
please use proper text while you writing or asking question.

1 solution

for your solution you need to do something like this...


1) first of all you need to upload you image to any temp or you image folder at server side.

2) then make imageurl with newly uploaded image and use server.mappath() to bind imageurl property of your image control.
 
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