今天用到了MVC异步上传图片,找了半天写下来以后方便查找异步提交图片需要一个MyAjaxForm.cs地址http://pan.baidu.com/s/1i3lA693密码txgp前台代码@using(Ajax.BeginForm("AddMessages","MenuInfo",newAjaxOptions{HttpMethod="post",OnSuccess="Successd"},new{@id="from1",enctype="multipart/form-data"})...
查看全文