如何从Grid到Excel下载大数据(16MB) [英] How to Download Large Data (16MB) from Grid to Excel

查看:177
本文介绍了如何从Grid到Excel下载大数据(16MB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我从asp.net编码下载Excel文件(大约16MB数据)时遇到问题,但我只得到一些数据大约(4MB)。



我尝试通过添加maxRequestLength来修改system.web,但我仍面临问题



请允许任何人给我一个想法/解决方案来下载excel的完整数据

从grid到excel或datatable to excel。



在此先感谢....

Hi All,

I have a problem while downloading Excel file(around 16MB Data) from the asp.net coding,but I am getting only some of the data around(4MB).

I have tried with changes in system.web by adding maxRequestLength but still I am facing the problem

Please can any one give me the idea/solution to download excel with complete data
from grid to excel or datatable to excel.

Thanks in advance....

推荐答案

如果我记得正确,.xls不能支持超过4 MB,将扩展名更改为.CSV,这种格式是相同的(默认情况下由Excel打开)但没有大小限制

希望它有所帮助
if i remeber right, .xls cant support more than 4 MB, change extension to .CSV, this format is pretty the same(by default opened by Excel) but dont have a size limit
Hope it helps


这篇关于如何从Grid到Excel下载大数据(16MB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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