I am using FileUpload control to browse an Excel file...the code works absolutely fine on the development site. However, when i deployed my application i got an error when i did R N D on the same i got a solution that says we need to save the file using PostedFile.SaveAs() ...
I did the above and now i am getting a new error which says:Could not find a part of the path
Can any one tell me where am i going wrong...? I am unable to browse my excel file...
here is my code snippet..
if (fileup.HasFile == true)
string fileName = fileup.PostedFile.FileName;
Please tell me how to solve the error....