Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
So after I upload the file I want to store its path in database the problem is file upload clear the path after uploading, how to keep the path displayed after upload and how to display the path on page load after I get its path from database?
Posted

1 solution

You can't. Because browsers won't allow you to put any value inside FileUpload Control due to security restrictions.

Instead declare one Label or a TextBox and show the path.
 
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