在C#中无需迭代即可导出到Excel [英] Export to Excel without iteration in c#

查看:101
本文介绍了在C#中无需迭代即可导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


推荐答案

除非您使用的是允许您调用方法的第三方网格控件,否则,是否可以导出Excel而不迭代网格列?例如ExportToExcel或类似的东西.该工作必须在某个地方完成-在幕后或在您自己的代码中进行.
Not unless you''re using a 3rd-party grid control that allows you to call a method, like ExportToExcel, or something like that. the work has to be done somewhere - either behind the scenes, or in your own code.


这里有一些窍门
我是否可以在不使用数据源的情况下将INTO excel导入 [
Here some tricks
Can I import INTO excel from a data source without iteration?[^]


看看这个讨论. ^ ]
Take a look at this discussion.http://stackoverflow.com/questions/3752121/can-i-import-into-excel-from-a-data-source-without-iteration[^]


这篇关于在C#中无需迭代即可导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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