Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,


I have a drop down list with 5 items and a file upload control and a button.If i select a item from drop down and click on file upload control it should go to particular folder and similarly for other items.How can I do this.Plz help me



Thanks and Regards
Sridharan.C
Posted

1 solution

Handle the Upload button Click event, then read the current setting from the drop down.
You should be able to save the file (using the FileUpload.SaveAs method[^]) to any folder on your server, provided you have the appropriate permissions.
 
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