摘要:
最基本的实现方法:视图:<% Html.BeginForm("Upload", "UploadTest", FormMethod.Post, new { enctype = "multipart/form-data" });%> <input type="file" name="fileLoad1" /> <input type="submit" value="上传" /><% Html.EndForm(); %>控制器:[AcceptVerbs(HttpVerbs.Post)] public ActionResult Upload(FormCo 阅读全文