Hello Telerik,
I got this error after I try to use upload control a couple of times. I know it's caused by the stream's not disposed but I think I did that already...
Here is my code:
still get the error, any idea?
Cheers,
Elton
I got this error after I try to use upload control a couple of times. I know it's caused by the stream's not disposed but I think I did that already...
Here is my code:
... |
foreach (UploadedFile file in FileUpload.UploadedFiles) |
{ |
file.SaveAs(); |
} |
... |
foreach (UploadedFile file in FileUpload.UploadedFiles) |
{ |
file.InputStream.Close(); |
file.InputStream.Dispose(); |
} |
still get the error, any idea?
Cheers,
Elton