HttpFileCollection MyFile = System.Web.HttpContext.Current.Request.Files;
HttpPostedFile img = MyFile[0];
Stream stm =img.InputStream;//这里报错
报错:
“stm.ReadTimeout”引发了“System.InvalidOperationException”类型的异常
“stm.WriteTimeout”引发了“System.InvalidOperationException”类型的异常
....
必须得把获得的HttpPostedFile 对象保存吗?....
跪求大神赐教