本文介绍了如何将Excel表添加到控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
读取Excel创建的XLS文件 编写将要由Excel读取的XLS文件。 使用Excel提供的计算或解决工具,而不实际使用Excel。
任何一个人都可以解释在C#中添加excel文件的过程,对此有哪些要求? 是否需要在系统中安装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#
推荐答案您可以使用ADO.Net从Excel安装Excel电子表格中读取数据,而不使用安装Excel。以下是示例,了解如何执行此操作。
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:
如果您澄清,您可能会得到更多有用的答案。
You may get more useful answers if you clarify.
更多推荐
如何将Excel表添加到控制台应用程序
发布评论