生成Excel文件(不含Excel.exe) [英] Generate Excel File (without Excel.exe)

查看:82
本文介绍了生成Excel文件(不含Excel.exe)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想从一些数据库数据中写一个Excel文件(.xls格式)。


我不想要因为所有的自动化和安全性而使用Excel.exe

问题。


Microsoft是否在任何地方记录.xls文件格式?


是否有任何c#类可以让我这样做?



I want to write an Excel file (.xls format) from some database data.

I don''t want to use Excel.exe because of all the automation and security
issues.

Does Microsoft document the .xls file format anywhere?

Is there any c# class that will let me do this?

推荐答案

" John Bailo" < ja ***** @ texeme.com写信息

新闻:za ************************* *****@speakeasy.ne t ...
"John Bailo" <ja*****@texeme.comwrote in message
news:za******************************@speakeasy.ne t...

Microsoft是否在任何地方记录.xls文件格式?
Does Microsoft document the .xls file format anywhere?



据我所知...

Not as far as I know...


是否有任何c#课让我做这个?
Is there any c# class that will let me do this?

http:// www。 aspose.com/Products/Aspos...s/Default.aspx


" John Bailo" < ja ***** @ texeme.com写信息

新闻:za ************************* *****@speakeasy.ne t ...
"John Bailo" <ja*****@texeme.comwrote in message
news:za******************************@speakeasy.ne t...

>


我想写一个Excel文件(.xls格式)来自某些数据库数据。


由于所有自动化和安全问题,我不想使用Excel.exe。


Microsoft是否在任何地方记录.xls文件格式?


是否有任何c#类可以让我这样做?
>

I want to write an Excel file (.xls format) from some database data.

I don''t want to use Excel.exe because of all the automation and security issues.

Does Microsoft document the .xls file format anywhere?

Is there any c# class that will let me do this?



请参阅: http://support.microsoft.com/ default.aspx / kb / 257757 用于第三方支持产品。

Office 2007对所有Office文件使用Office Open XML格式,框架的V3提供

支持这些。

查看这些有关OOXML的详细信息:
http://openxmldeveloper.com/
http://blogs.msdn.com/brian_jones/ar...21002100_.aspx

威利。


See: http://support.microsoft.com/default.aspx/kb/257757 for third party support products.
Office 2007 uses the Office Open XML format for all Office files, V3 of the framework offers
support for these.
Check these for detailed info on OOXML:
http://openxmldeveloper.com/
http://blogs.msdn.com/brian_jones/ar...21002100_.aspx

Willy.


On Mon,26 Feb 2007 08:46:03 -0800,John Bailo写道:
On Mon, 26 Feb 2007 08:46:03 -0800, John Bailo wrote:

我想写一个Excel文件(.xls格式)来自某些数据库数据。


我不想使用Excel.exe,因为所有的自动化和安全性

问题。


Microsoft是否在任何地方记录.xls文件格式?


是否有任何c#类可以让我这样做?
I want to write an Excel file (.xls format) from some database data.

I don''t want to use Excel.exe because of all the automation and security
issues.

Does Microsoft document the .xls file format anywhere?

Is there any c# class that will let me do this?



我不认为记录格式会有多大用处,因为

''重新创建excel是不值得的麻烦。你确实有一些

的选择:


- 你可以使用文档齐全的XML Excel格式,如果你的客户有

a版本的Excel能够打开相同的Excel 2003或Excel

2007.您的代码将因此吐出Excel XML


- 更简单,你可以使用第三方库来生成文件。

Aspose为此创建一个非常全功能的库。这个

方法的好处是该文件是''普通的''excel格式,并且可以由旧的excel打开



-

Bits.Bytes
http://bytes.thinkersroom .com


这篇关于生成Excel文件(不含Excel.exe)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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