public void PostUpload()
        {
            var httpPostedFile = HttpContext.Current.Request.Files;
            foreach(string p in httpPostedFile)
            {
                var file = httpPostedFile[p];
                file.SaveAs(HttpContext.Current.Server.MapPath("/test.jpg"));
            }
        }

 

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2021-07-16
  • 2022-12-23
  • 2021-05-22
  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-01-24
  • 2022-12-23
  • 2022-02-05
相关资源
相似解决方案