『深巷の布衣』


我为她/它狂~~~

在工作中注重结果,在生活中享受过程!
posts - 208,comments - 106,trackbacks - 5
在web.config中添加httpRuntime元素,如下:
<configuration>
   <system.web>
      <httpRuntime maxRequestLength="8192"
         useFullyQualifiedRedirectUrl="true"
         executionTimeout="45"
         versionHeader="1.1.4128"/>
   </system.web>
</configuration>
其中maxRequestLength属性就是限制上传大小的,如设为"8192"即为8M。
posted on 2006-07-10 10:46 潘奕涛 阅读(301) 评论(0)  编辑 收藏 所属分类: ASP.NET技术文章