如何使用C#代码从共享驱动器或共享文件夹中读取excel文件 [英] How to read excel file from shared drive or shared folder using C# code
本文介绍了如何使用C#代码从共享驱动器或共享文件夹中读取excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用c#代码从共享文件夹中读取excel文件数据请帮助代码
我尝试过:
我试图用c#代码查找代码但无法找到它请帮助代码
解决方案
请参阅使用MS Excel(xls / xlsx) )使用MDAC和Oledb [ ^ ]。或者,您可以使用 Microsoft.Office.Interop.Excel命名空间() [ ^ ]。
How to read excel file data from shared folder using c# code please help with the code
What I have tried:
I tried to find out the code using c# code but unable to find it please help with the code
解决方案
See Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^]. Alternatively you can use the Microsoft.Office.Interop.Excel namespace ()[^].
这篇关于如何使用C#代码从共享驱动器或共享文件夹中读取excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文