文件处理。如何通过C#代码打开文件。 [英] File Handling. How to open files by C# code.
本文介绍了文件处理。如何通过C#代码打开文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何打开通过上传控制上传的excel文件。
我是否可以通过coading而不打开excel而不使用C#中的数据库来获取上传的excel的标题列?
请给出我必须使用的命名空间。
请提供我能理解的URL以处理文件。
How to open that excel file which is uploaded through upload control.
Can i also take heading-columns of that uploaded excel by coading without opening excel and without using Database also in C#?
Kindly give also namespaces which i have to use.
Kindly give URL from that i can understand to work on files.
推荐答案
Microsoft.Office.Interop.Excel [ ^ ]命名空间是你的起点。
还有一个如何 [ ^ ]。
The Microsoft.Office.Interop.Excel[^] namespace is your starting point.
There's also a Howto[^] on that topic.
这篇关于文件处理。如何通过C#代码打开文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文