T
tshad
I have a file that I want to upload periodically from a users machine if
they come back later.
I am storing the filename and path in my database. But the HtmlInputFile
normally file is set to read-only.
For example, if I have the object:
<input id="MyResumeFile" style="width:300px" type="File" runat="Server">
If I get the filename from an earlier upload that I stored in my database as
such:
MyResumeFile.PostedFile.FileName = dbReader("UploadFileName")
I get the error:
Property 'FileName' is 'ReadOnly'
Is there a way to use the name stored in a database with the Upload File
object?
Thanks,
Tom
they come back later.
I am storing the filename and path in my database. But the HtmlInputFile
normally file is set to read-only.
For example, if I have the object:
<input id="MyResumeFile" style="width:300px" type="File" runat="Server">
If I get the filename from an earlier upload that I stored in my database as
such:
MyResumeFile.PostedFile.FileName = dbReader("UploadFileName")
I get the error:
Property 'FileName' is 'ReadOnly'
Is there a way to use the name stored in a database with the Upload File
object?
Thanks,
Tom