摘要: 最基本的实现方法:视图:<% 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 阅读全文
posted @ 2011-02-15 11:36 男儿当自强IT 阅读(336) 评论(0) 推荐(0) 编辑