简体   繁体   English

以编程方式在SharePoint中更新Excel文件

[英]Update excel file in SharePoint programmatically

I am just wondering if it is possible to have a Web Part in Share Point 2010 Foundation that will allow the user to enter in some details, just strings, then when they click save it will search through an excel file get an ID number and give it back to the user. 我只是想知道在Share Point 2010 Foundation中是否可以有一个Web部件,该部件将允许用户输入一些详细信息,仅输入字符串,然后当他们单击“保存”时,它将搜索一个excel文件并获得一个ID号并给出它返回给用户。 It will the populate the row with the new ID number with the details that the user has provided? 它将使用用户提供的详细信息用新的ID号填充行吗?

If can help me know if this is possible or not I would greatly appreciate it. 如果可以帮助我知道这是否可行,我将不胜感激。

Thanks, Stuart. 谢谢,斯图尔特。

If the Excel file is in a document library, SoftArtisans OfficeWriter , another 3rd party library for manipulating Excel files, comes with SharePoint integration . 如果Excel文件位于文档库中, SharePoint集成随附了SoftArtisans OfficeWriter (另一个用于操纵Excel文件的第三方库)。

(Disclaimer, I work for SoftArtisans) (免责声明,我为SoftArtisans工作)

Have a look at Aspose.Cells . 看看Aspose.Cells You can use it to manipulate excel files in any way you like. 您可以使用它以任意方式操纵excel文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM