如何在C#中创建Excel类文件 [英] How Can I Create Excel Class File In C#

查看:74
本文介绍了如何在C#中创建Excel类文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#

推荐答案

中创建excel类文件要使用Excel文件,可以使用Office Interop程序集或Open XML SDK。

请参阅我以前的回答:如何从MS中的添加参考添加microsoft excel 15.0对象库Visual Studio 2010 [ ^ ]。



另见这一篇:使用Open XML创建基本的Excel工作簿 [ ^ ]。



-SA
To work with Excel files, you can use either Office Interop assemblies or Open XML SDK.
Please see my past answer: How to add microsoft excel 15.0 object library from Add Reference in MS Visual Studio 2010[^].

See also this one: Creating basic Excel workbook with Open XML[^].

—SA


查看此链接和y你会全面了解同样的事情。 http://msdn.microsoft.com/en-us/library/ ms173186%28v = vs.80%29.aspx [ ^ ]
check out this link and you will get whole idea about the same. http://msdn.microsoft.com/en-us/library/ms173186%28v=vs.80%29.aspx[^]


这篇关于如何在C#中创建Excel类文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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