M
Mel
I am allowing the user to select a file. This file could be anywhere,
on their local machine or on our business network. I am reading the
file, storing the contents in a datatable and then binding the
datatable to a gridview on the screen. I choose the file with the
asyncfileupload control, then I click import and it fails on this line
AsyncFileUpload1.PostedFile.FileName. It says "Access to path is
denied". It works fine when I debug the application on my machine.
Do I need to save the file to the web server first, then open it?
Please help.
on their local machine or on our business network. I am reading the
file, storing the contents in a datatable and then binding the
datatable to a gridview on the screen. I choose the file with the
asyncfileupload control, then I click import and it fails on this line
AsyncFileUpload1.PostedFile.FileName. It says "Access to path is
denied". It works fine when I debug the application on my machine.
Do I need to save the file to the web server first, then open it?
Please help.