1、需使用post提交
2、在form 表单中添加enctype="multipart/form-data"
3<input type=file name="Filedata" />
4、 HttpPostedFile files = context.Request.Files["Filedata"];
html+ashx文件上传文件,布布扣,bubuko.com
html+ashx文件上传文件
原文:http://www.cnblogs.com/zhangleidswc/p/3652831.html