如何在asp.net页面中使用sharepint数据 [英] How do I use sharepint data in asp.net page
本文介绍了如何在asp.net页面中使用sharepint数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好b $ b
我正在寻找一种方法从我的asp.net页面中将SharePoint列表中的值检索到下拉列表中。
列表名称:testlist
我要检索的列是标题
我有webservice链接,但我不知道如何在我的asp.net页面上使用它(顺便说两个网站在不同的服务器上)
我看到一些例子,但仍然,我无法弄清楚......:/
Thanx
解决方案
您可以使用SharePoint REST界面读取列表数据。请查看此处的MSDN文档。
http ://msdn.microsoft.com/en-us/library/ff798339.aspx [ ^ ]
请注意,您仍需要确保调用用户可以访问SharePoint站点/列表。
Hi
I'm looking for a way to retrieve values from a SharePoint list into a dropdownlist in my asp.net page.
The list called: "testlist"
The column I want to retrieve is "title"
I have the webservice link but I don't know how to use it on my asp.net page (by the way the 2 websites are on a different servers)
I saw some examples but still, I can't figure it out... :/
Thanx
解决方案
You can use the SharePoint REST interface to read the list data. Look at the MSDN documentation here.
http://msdn.microsoft.com/en-us/library/ff798339.aspx[^]
Note that you still need to make sure that the calling user has access to the SharePoint Site/List.
这篇关于如何在asp.net页面中使用sharepint数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文