FileUpload Control

B

bthumber

I trying to save a file using the FileUpload control but it tells me that
there is no file. Please see code:
void SaveFile()
{
if (FileUpload1.HasFile) // fails here
{
string filepath ...
}

Is there something else I need to do first???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,044
Messages
2,570,388
Members
47,052
Latest member
ketan

Latest Threads

Top