html+ashx文件上传文件

1、需使用post提交

2、在form 表单中添加enctype="multipart/form-data" 

3<input type=file name="Filedata" />

4、 HttpPostedFile files = context.Request.Files["Filedata"];

posted on 2014-04-08 20:31  无缘沙漠雨  阅读(472)  评论(0)    收藏  举报

导航