首页 > 代码库 > ASP.NET MVC图片上传

ASP.NET MVC图片上传

工具:ssi-uploader

    $(‘#id‘).ssi_uploader({
        url: ‘path‘
    });
public ActionResult path()
        {
            HttpPostedFileBase file = Request.Files[0];
            string savePath = AppDomain.CurrentDomain.BaseDirectory + ""+file.FileName;
            file.SaveAs(savePath);
        }

 

ASP.NET MVC图片上传