I have eight fileupload controls in my webpage and i am using this code to uplaod them and attaching them in email. In IE this code is working fine but in chrome and fire fox the code gives me the error
The process cannot access the file because it is being used by another process
i can understand why a peice of code is working in IE and not in other browsers.
here is the code.
string strFileName = "";
string fullyqualifidespath = "";
HttpFileCollection UploadFileCol = Request.Files;
for (int
i = 0; i < UploadFileCol.Count; i++)
{ HttpPostedFile file = UploadFileCol[i];
if (file.ContentLength &g ...
Go to the complete details ...