关于上传文件大小的问题
请问如何设置上传文件的大小啊?
[解决办法]
web.config里
<httpRuntime executionTimeout= "90 " maxRequestLength= "10240000 " useFullyQualifiedRedirectUrl= "false "
minFreeThreads= "8 " minLocalRequestFreeThreads= "4 " appRequestQueueLimit= "100 "/>
maxrequestlength 就是最大的上传大小
[解决办法]
请在Web.config的 <system.web> 节中加入:
<httpRuntime maxRequestLength= "1048576 " executionTimeout= "12000 " />
即可解决!