<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx</link><description>A buddy of mine asked me to help him figure out how to get the data from a SharePoint list for a project he’s working on. I thought rather than showing him one way, I’d show him three and let him decide which method is best for his application. Now I</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>SharePoint Lists Web Service - making sense of the return value &amp;laquo; Meanderings of a wandering mind</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#6732003</link><pubDate>Thu, 13 Nov 2008 02:00:43 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6732003</guid><dc:creator>SharePoint Lists Web Service - making sense of the return value « Meanderings of a wandering mind</dc:creator><author>SharePoint Lists Web Service - making sense of the return value « Meanderings of a wandering mind</author><description>&lt;p&gt;Pingback from &amp;nbsp;SharePoint Lists Web Service - making sense of the return value &amp;amp;laquo; Meanderings of a wandering mind&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6732003" width="1" height="1"&gt;</description></item><item><title>Using SharePoint web services to get list items</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#6103776</link><pubDate>Wed, 16 Apr 2008 21:53:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6103776</guid><dc:creator>Aidan Garnish</dc:creator><author>Aidan Garnish</author><description>&lt;p&gt;Using SharePoint web services to get list items&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6103776" width="1" height="1"&gt;</description></item><item><title>re: Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#6024420</link><pubDate>Tue, 25 Mar 2008 16:51:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6024420</guid><dc:creator>Rodney Kendall</dc:creator><author>Rodney Kendall</author><description>&lt;p&gt;Sample converted to C# and &amp;#39;genericized&amp;#39;.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class GetList&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private static XmlNode GetListNode(string listname)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String login = ConfigurationSettings.AppSettings[&amp;quot;login&amp;quot;];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String pass = ConfigurationSettings.AppSettings[&amp;quot;pass&amp;quot;];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RCPILists.Lists RCPILists = new RCPILists.Lists();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RCPILists.Credentials = new System.Net.NetworkCredential(login, pass);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlNode node = RCPILists.GetListItems(listname, String.Empty, null, null, String.Empty, null);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return node;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// Retrieves all rows from the specified list.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;param name=&amp;quot;listname&amp;quot;&amp;gt;Name of the list&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;returns&amp;gt;A DataSet containing the entire list&amp;lt;/returns&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static DataSet GetListData(string listname)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlNode node = GetListNode(listname);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlTextReader xmlTextReader = new XmlTextReader(node.OuterXml, XmlNodeType.Element, null);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataSet dataSet = new DataSet();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataSet.ReadXml(xmlTextReader);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return dataSet;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Awesome article, THANKS!!!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6024420" width="1" height="1"&gt;</description></item><item><title>re: Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#5395670</link><pubDate>Mon, 03 Dec 2007 07:56:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5395670</guid><dc:creator>James Green</dc:creator><author>James Green</author><description>&lt;p&gt;Excellent post, exactly what the doctor ordered.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5395670" width="1" height="1"&gt;</description></item><item><title>Using SharePoint web services to get list items</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#4706268</link><pubDate>Tue, 23 Oct 2007 10:21:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4706268</guid><dc:creator>Aidan Garnish</dc:creator><author>Aidan Garnish</author><description>&lt;p&gt;Using SharePoint web services to get list items&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4706268" width="1" height="1"&gt;</description></item><item><title>re: Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#1770372</link><pubDate>Fri, 23 Feb 2007 17:51:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1770372</guid><dc:creator>John</dc:creator><author>John</author><description>&lt;p&gt;Great article, very useful. &amp;nbsp;This is exactly what I was looking for to get started with Sharepoint. &amp;nbsp;Now if I can figure out how to pull documents out of libraries I'll be set! &amp;nbsp;:)&lt;/p&gt;
&lt;p&gt;And to the user who commented about VB... learn to translate to C#. &amp;nbsp;In fact, going to and from C# to VB is pretty easy and can be done almost line for line. Where as that can be cumbersome on large applications, these are small examples and can be done in a minute or two.&lt;/p&gt;
&lt;p&gt;Anyway, great post, cheers! &amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1770372" width="1" height="1"&gt;</description></item><item><title>re: Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#1426519</link><pubDate>Wed, 17 Jan 2007 21:50:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1426519</guid><dc:creator>Bart</dc:creator><author>Bart</author><description>&lt;p&gt;Very nice article,&lt;/p&gt;
&lt;p&gt;but Visual Basic &amp;amp;*%^$$%$%%$!!!!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1426519" width="1" height="1"&gt;</description></item><item><title>SharePoint Products and Technologies </title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#638607</link><pubDate>Mon, 09 Oct 2006 06:49:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:638607</guid><dc:creator>Abu Ismail - Loves .NET &amp; "Arif"</dc:creator><author>Abu Ismail - Loves .NET &amp; "Arif"</author><description>&lt;p&gt;&amp;amp;bull; SharePoint Custom Search Results Page &lt;a rel="nofollow" href="http://www.codeproject.com/aspnet/SPCustomSearchResults.asp" target="_new"&gt;http://www.codeproject.com/aspnet/SPCustomSearchResults.asp&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=638607" width="1" height="1"&gt;</description></item><item><title>Take care of the results from a WSS Web Service</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#448455</link><pubDate>Mon, 22 May 2006 20:50:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:448455</guid><dc:creator>J-O Eriksson's WebLog</dc:creator><author>J-O Eriksson's WebLog</author><description>A couple of months ago, I needed to create an application which requested a collection of ListItems from...&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=448455" width="1" height="1"&gt;</description></item><item><title>re: Using Data From SharePoint 2003 Lists</title><link>http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx#406616</link><pubDate>Thu, 12 May 2005 15:31:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:406616</guid><dc:creator>Scott Vintinner</dc:creator><author>Scott Vintinner</author><description>What a great article (and just in time too)!  Thanks a lot!&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=406616" width="1" height="1"&gt;</description></item></channel></rss>