日期:2014-05-16  浏览次数:20446 次

.net如何共聚前端<input type="file" 文件
我的程序是用的模板驱动程序 NVelocity.因此调用的模板都是html文件.

并不是传统的aspx前端页.所以在前端上传控件是 <inpu type="file" name="up1"> <input type="button" value="提交">

但是发现在后台能用 form取到值.就是Request.File取不到值
------解决方案--------------------
 

表单上加了   enctype="multipart/form-data"  没有