如何使用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.