从文档库中读取Excel文件,并使用csom c#在SP列表中插入excel列值 [英] Read Excel file from document library and insert excel column value in SP list using csom c#
问题描述
大家好,
您能告诉我们如何从sharepoint文档库中读取Excel文件,并使用csom c#在SP列表中插入Excel列值。
谢谢&问候
Deepak Chauhan
Hi Deepak,
我们可以使用Microsoft.Office.Interop.Excel库以编程方式从SharePoint库中读取Excel文件:
如何从SharePoint文档库.NET / C#中读取Excel文件
然后使用SharePoint CSOM代码将值插入SharePoint列表:
在Visual Studio中使用CSOM在SharePoint 2013中创建列表项
谢谢
最好的问候
Hi All,
Can you please let me know how we can read Excel file from sharepoint document library and insert excel column value in SP list using csom c#.
Thanks & Regards
Deepak Chauhan
Hi Deepak,
We could use Microsoft.Office.Interop.Excel library to read Excel file from SharePoint library programmatically:
How to read excel file from SharePoint Document Library .NET/C#
Then use SharePoint CSOM code to insert value to SharePoint list:
Create a List item in SharePoint 2013 using CSOM in Visual studio
Thanks
Best Regards
这篇关于从文档库中读取Excel文件,并使用csom c#在SP列表中插入excel列值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!