我爱Aspx >> Asp.Net >> 设置上传文件的最大大小在web.config中添加httpRuntime元素,如下:
<configuration>
<system.web>
<httpRuntime maxRequestLength="8192"
useFullyQualifiedRedirectUrl="true"
executionTimeout="45"
versionHeader="1.1.4128"/>
</system.web>
</configuration>
其中maxRequestLength属性就是限制上传大小的,如设为"8192"即为8M。
http://pyt5208.cnblogs.com/archive/2006/07/10/446994.html
Ҷƪл˵?
将ASP.NET页面内的数据导出到Exc..[08-01]
SQL server 2005中的DATENAME函数[08-01]
ASP.NET中散列加密密码[08-01]
ASP.NET2.0实现网站的自动升级[08-01]
DataGrid和DataList中CommandBut..[08-01]
用金山表格制作家庭存款管理系统[08-01]
Photoshop鼠绘实例:可爱的斑点狗[08-01]
Photoshop图片特效:清凉梦幻马赛..[08-01]
Photoshop通道一步调色法[08-01]
Javascript实例:Select的OnChan..[08-01]