在asp.net中上传excel问题 [英] upload excel problem in asp.net

查看:70
本文介绍了在asp.net中上传excel问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将asp.net中的excel文件导入最多30000条记录时,

超过长度错误会是什么
请帮助我

when i am importing the excel file in asp.net upto 30000 records then

exceed length error come what is that
please help me

推荐答案

首先检查什么是确切的错误.
如果由于文件大而导致错误,请在您的web.config< httpruntime executetimeout ="120" maxrequestlength ="9144">中使用此行.这里的maxRequestLength ="9144"是可以通过上传控件上传的文件大小(9144字节).
First check what is exact error.
If error due to big size of file, then use this line in your web.config <httpruntime executiontimeout="120" maxrequestlength="9144">. here maxRequestLength="9144" is size(9144 bytes) of file can be upload by upload control.


这篇关于在asp.net中上传excel问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆