my use a 3 FileUpload, I am want one filupload was empty whe

Feb 4 2015 4:03 AM
hai master asp.net
my use a 3 FileUpload, I am want one filupload was empty when I press the save button


This error message




Could not find a part of the path 'D:\plp\resource\Pengelolaan\'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\plp\resource\Pengelolaan\'.

Source Error:


Line 63: if (FileUpload2.PostedFile != null) Line 64: { Line 65: FileUpload2.SaveAs(Server.MapPath("~/resource/Pengelolaan/") + fileName2); Line 66: } Line 67: if (FileUpload3.PostedFile != null)



Answers (9)