Click here to Skip to main content
15,991,109 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi!

i'm having the file upload button , one text box ,one save and update button.

first time when i upload the file and click on save button it displaying that path on the text box and its saving in the database also... but when i want to change the file path that time its not updating in the database and its showing the old file path only in the text box....


can any one rectify this error please.....
Posted

You can't. The Upload control does not let you know - even by default - about the user's environment, and this includes the original path. It wouldn't be a lot of use to you anyway as you will have no control over where the goes when it is downloaded either...

[edit]Final sentence rephrased for clarity - OriginalGriff[/edit]
 
Share this answer
 
v2
Have a look at:
Silverlight File Upload[^] - you obviously need to update the information in the database on the second upload :)

Best regards
Espen Harlinn
 
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