评论会员:游客 时间:2012/02/05
乌玛・尚卡尔帕特尔:在Web配置文件的变化,maxRequestLength的设置为您的请求。在这个例子中的最大大小为60MB。codeprelang="HTML"spanclass="code-keyword"</spanspanclass="code-leadattribute"httpruntime/spanspanclass="code-attribute"executiontimeout/spanspanclass="code-keyword"="/spanspanclass="code-keyword"110"/spanspanclass="code-attribute"maxrequestlength/spanspanclass="code-keyword"="/spanspanclass="code-keyword"60000"/spanspanclass="code-keyword"//spanspanclass="code-attribute"/span/pre/code
您好Deepak.xip,
遵循这个:
1)
]在您的数据库。
2){A1}
)尝试{A2}]:约翰・西蒙斯/取缔程序员
评论会员:游客 时间:2012/02/05
你可以尝试其中之一:在较小的块检索数据0)1)尝试改变在SqlCommand对象的CommandTimeout属性到一个更高的值(默认是30秒)。2)使用中的SqlCommand异步功能(BeginExecuteReader)编辑===================为什么是这个答案投1?我提供几个可行的战略。如果你期望的代码,你会大失所望,因为这里没有人能够提供给你。为什么呢?因为我们不熟悉你的项目,没有人在这里免费