如何使用C#将gridview数据导出为Excel 2007(xlsx)格式 [英] How to export gridview data to Excel 2007 (xlsx) format using C#

查看:208
本文介绍了如何使用C#将gridview数据导出为Excel 2007(xlsx)格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将Gridview数据(将gridview转换为datable或数据集)导出到excel 2007.

我已经尝试更改xlsx的MIME并且更改了注册表,但两者都不适合我。



如果有人知道除上述两个选项之外的任何其他方式,请提供帮助。

紧急。

Hi,
I want to export Gridview data (withour converting gridview into datable or dataset) to excel 2007.
I have already tried to change the MIME for xlsx and change the regedit but both are not working for me.

Please help, if anyone know any other way to achieve it apart from above two options.
Its Urgent.

推荐答案

由于它非常紧急,你可以自己谷歌吧。谷歌C3导出GridView到Excel 2007。



它只记录了大约75,000次。
Since it's so urgent, you can Google for it yourself. Google for "C3 export GridView to Excel 2007".

It's only been documented about 75,000 times.


这篇关于如何使用C#将gridview数据导出为Excel 2007(xlsx)格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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