如何添加Excel工作表到控制台应用程序 [英] How to add Excel sheet to console application
本文介绍了如何添加Excel工作表到控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何一个可以解释添加的Excel文件在C#的过程中,什么是自己不能满足要求?
是否有必要在系统中安装的MS Excel在C#中使用的Excel
Can any one explain the process of adding excel file in C# and What are the requirements for that?
Is it necessary to install MS Excel in the system for using of Excel in C#
推荐答案
您可以阅读从Excel US preadsheet的数据,而无需的有安装Excel,使用ADO.Net。这里是如何做到这一点样品。
You can read data from Excel spreadsheet without having Excel installed, using ADO.Net. Here is a sample for how to do this.
不过,你的问题是有点含糊。既然你没有安装Excel,其中这些你真正想做的事情:
However, your question is a little vague. Since you do not have Excel installed, which of these do you really want to do:
- 在阅读已经创建的Excel早些时候,XLS文件。
- 在编写将Excel中读取XLS文件后。
- 使用了Excel提供的计算或解决设施,而无需实际使用Excel。
您可能会得到更多有用的答案,如果你澄清。
You may get more useful answers if you clarify.
这篇关于如何添加Excel工作表到控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文