asp.net mvc3 下上传文件
摘要:一 创建表单@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" })){ <input type="file" name="file" /> <input type="submit" value="OK" />}二创建controllepublic class HomeController : C
阅读全文
posted @ 2012-01-12 15:46
浙公网安备 33010602011771号