简体   繁体   English

借助Sharepoint 2010 Excel Services,如何从具有版本控制的电子表格中获取值

[英]With Sharepoint 2010 Excel Services how can I get values from a spreadsheet with version control

I can get the values from a xlsx file and bind them to a gridview within a webpart in sharepoint 2010. 我可以从xlsx文件中获取值,并将其绑定到sharepoint 2010中Webpart内的gridview。

But I do want to use version-control for this document library containing spreadsheets. 但是我确实想对包含电子表格的文档库使用版本控制。 Is there any way for me to select the specific versioned spreadsheet and use it for reading data. 有什么办法让我选择特定版本的电子表格并将其用于读取数据。

For example: 例如:

  • abc.xlsx (version 3.0) abc.xlsx(3.0版)
  • abc.xlsx (version 2.0) abc.xlsx(2.0版)
  • abc.xlsx (version 1.0) abc.xlsx(1.0版)

I want to gather info from version 2.0, how can I? 我想从2.0版中收集信息,该怎么办?

Thanks in advance (: 在此先感谢 (:

Since no better suggestiones provided, I've found a simple way: 由于没有提供更好的建议,因此我找到了一种简单的方法:

First get the file, then using GetVersions select a specific versioned one, then read the file and make modifications necessary. 首先获取文件,然后使用GetVersions选择特定版本的文件,然后读取文件并进行必要的修改。

I guess no quickie for this one available. 我猜这没有速成。

暂无
暂无

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

相关问题 如何从 Sharepoint 文档库自动签出 Excel 电子表格、编辑电子表格并重新签入? - How can I automate the checkout of an excel spreadsheet from a sharepoint document library, edit the spreadsheet, and check it back in? 如何提高OpenXml Excel电子表格工具中从SharedStringTable检索值的性能? - How can I improve the performance of retrieving values from SharedStringTable in OpenXml Excel spreadsheet tools? 如何以编程方式将XML Map添加到Excel 2010电子表格中? - How do I add an XML Map programmatically to an Excel 2010 Spreadsheet? Sharepoint 2010 Client OM - 如何获取最后批准的文档版本? - Sharepoint 2010 Client OM - How to get the Last approved document version? 如何通过链接而不是图像文件通过Spreadsheet Light将图片插入Excel电子表格? - How can I insert a picture into an Excel spreadsheet with Spreadsheet Light from a link rather than an image file? 如何从sharepoint服务器下载excel文件? - How can i download an excel file from sharepoint server? 如何获得Excel更新Excel-DNA RTD电子表格? - How can I get excel to update spreadsheet for Excel-DNA RTD? 如何从SharePoint CSOM查询中获取唯一字段值? - How can I get only unique field values from a SharePoint CSOM query? 如何从父表单中的用户定义控件获取控件的值 - How can I get values of a control from the user-defined control in the parent form 如何在SharePoint 2010中获得自定义Web部件的外观属性提示 - How can I get Appearance properties vlaues of my custom web part in sharepoint 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM