摘要: VIEW 代码@using (Html.BeginForm("Upload", "UploadFile", FormMethod.Post, new { enctype = "multipart/form-data" })){}Controller 代码 [HttpPost] public ActionResult Upload(HttpPostedFileBase file) { if (file != null && file.ContentLength > 0) { // extract only the 阅读全文
posted @ 2012-03-26 11:20 kevinzw 阅读(289) 评论(0) 推荐(0) 编辑