Wednesday, March 16, 2011

How to assign Text to A file upload control on an aspx page?

My file upload control is in page for editing records so i want to retrieve the path stored in database and assign it file upload control. i have written select query to get data but i do not know how to display the stored file path in file upload control.

From stackoverflow
  • You Cannot Assign Text to file Upload control it is read only control.

    a programmer : It is a security thing. If you could assign text, you could upload any known user file, without user's approval.

0 comments:

Post a Comment