context.Request.Files post 上传问题件

【无刷新上传

要实现文件上传,form必须设置几个属性:
1.action:设为要处理数据的页面地址;
2.method:设为"post";
3.enctype/encoding:必须设为"multipart/form-data",这里要注意的是在ie中用js修改form的enctype属性是没有效果的,只能修改encoding;

原文地址:https://www.cnblogs.com/ok519/p/3612071.html