<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Retrieving SharePoint List Data using CAML</title>
	<atom:link href="http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/</link>
	<description>SharePoint, Silverlight and Azure</description>
	<lastBuildDate>Wed, 24 Feb 2010 15:16:16 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ashok</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-204</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Mon, 04 Jan 2010 11:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-204</guid>
		<description>Hi Ramprasad,

Thanks for the nice post. Everything worked, and I was quite impressed that I didn&#039;t have to load this webpart into the webpart gallery - it was already available to add onto any page.

However, for some reason, the webpart displays all the list data. It is not using the query where we just want AssignedTo = Ramprasad. (I created dummy data to test this).

Any ideas why all data is being returned?

Thank you,

Ashok</description>
		<content:encoded><![CDATA[<p>Hi Ramprasad,</p>
<p>Thanks for the nice post. Everything worked, and I was quite impressed that I didn&#8217;t have to load this webpart into the webpart gallery &#8211; it was already available to add onto any page.</p>
<p>However, for some reason, the webpart displays all the list data. It is not using the query where we just want AssignedTo = Ramprasad. (I created dummy data to test this).</p>
<p>Any ideas why all data is being returned?</p>
<p>Thank you,</p>
<p>Ashok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkat</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-197</link>
		<dc:creator>venkat</dc:creator>
		<pubDate>Wed, 11 Nov 2009 18:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-197</guid>
		<description>Hi Ram,

Nice Article.

When I try to build ,I’m getting an error that says: The type of namespace name ‘Dataset’ could not be found. Can you tell me the  issue here ?

And the GUID you mentioned should be MySPList GUID ? Right</description>
		<content:encoded><![CDATA[<p>Hi Ram,</p>
<p>Nice Article.</p>
<p>When I try to build ,I’m getting an error that says: The type of namespace name ‘Dataset’ could not be found. Can you tell me the  issue here ?</p>
<p>And the GUID you mentioned should be MySPList GUID ? Right</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SharePoint</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-193</link>
		<dc:creator>SharePoint</dc:creator>
		<pubDate>Mon, 19 Oct 2009 06:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-193</guid>
		<description>Thanks dude for this Nice post.
I have one problem this is somewhat how related to your post. I am working on an intranet portal having a aspx page called visitingCard.aspx and that is sharepoint list’s default page comes when clicking  new button having columns username, Department, Designation, email, phone no etc.
This form is user specific I mean as any user log in by its account (User name and password) and click on this page(visitingCard.aspx) all the fields in the page should be filled automatically related to that user. 
And this data is coming from active directory.

Plz help me to do this.</description>
		<content:encoded><![CDATA[<p>Thanks dude for this Nice post.<br />
I have one problem this is somewhat how related to your post. I am working on an intranet portal having a aspx page called visitingCard.aspx and that is sharepoint list’s default page comes when clicking  new button having columns username, Department, Designation, email, phone no etc.<br />
This form is user specific I mean as any user log in by its account (User name and password) and click on this page(visitingCard.aspx) all the fields in the page should be filled automatically related to that user.<br />
And this data is coming from active directory.</p>
<p>Plz help me to do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sara</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-191</link>
		<dc:creator>sara</dc:creator>
		<pubDate>Fri, 09 Oct 2009 07:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-191</guid>
		<description>Nice !!!!!!!!

Try this too,
&lt;a href=&quot;http://sarangasl.blogspot.com/2009/09/sharepoint-list-c-part-1.html&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;SharePoint Lists and more&lt;/b&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Nice !!!!!!!!</p>
<p>Try this too,<br />
<a href="http://sarangasl.blogspot.com/2009/09/sharepoint-list-c-part-1.html" rel="nofollow"><b>SharePoint Lists and more</b></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lambros Vasiliou</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-190</link>
		<dc:creator>Lambros Vasiliou</dc:creator>
		<pubDate>Mon, 28 Sep 2009 12:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-190</guid>
		<description>@MOSS TEchie:
The exception is caused by .ToString(). What happenned here is that your item[&quot;Middle Name&quot;] column contained no value. To get around this issue:
string middleName=item[&quot;Middle Name&quot;]==null ? string.Empty : SPEncode.HtmlEncode(item[&quot;Middle Name&quot;].ToString();

Also notice that the result SPListItemCollection supports .GetDataTable() to convert your results to a data table.</description>
		<content:encoded><![CDATA[<p>@MOSS TEchie:<br />
The exception is caused by .ToString(). What happenned here is that your item["Middle Name"] column contained no value. To get around this issue:<br />
string middleName=item["Middle Name"]==null ? string.Empty : SPEncode.HtmlEncode(item["Middle Name"].ToString();</p>
<p>Also notice that the result SPListItemCollection supports .GetDataTable() to convert your results to a data table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MOSS techie</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-188</link>
		<dc:creator>MOSS techie</dc:creator>
		<pubDate>Tue, 22 Sep 2009 19:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-188</guid>
		<description>Is it possible to use the SPEncode.HtmlEncode(item[&quot;Middle Name&quot;].ToString()to get non-required fields??
it gives an exception of 
&quot;Object reference not set to an instance of an object&quot; since that row does not have data for this column</description>
		<content:encoded><![CDATA[<p>Is it possible to use the SPEncode.HtmlEncode(item["Middle Name"].ToString()to get non-required fields??<br />
it gives an exception of<br />
&#8220;Object reference not set to an instance of an object&#8221; since that row does not have data for this column</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SC</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-175</link>
		<dc:creator>SC</dc:creator>
		<pubDate>Mon, 13 Jul 2009 11:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-175</guid>
		<description>Hello Ram Prasad,

                 Is it possible to query another list in a CAML query???I mean is nested queries possible??</description>
		<content:encoded><![CDATA[<p>Hello Ram Prasad,</p>
<p>                 Is it possible to query another list in a CAML query???I mean is nested queries possible??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-173</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Mon, 29 Jun 2009 12:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-173</guid>
		<description>Hello Ramprasad
i saw your code..actually i am trying to do the same thing only difference is that i don&#039;t want to use the query to fetch the data. I want to fetch the data from the list which i had already created in sharepoint site and want to display that data in a datagrid.Can you tell me what all changes i can make in the existing code.</description>
		<content:encoded><![CDATA[<p>Hello Ramprasad<br />
i saw your code..actually i am trying to do the same thing only difference is that i don&#8217;t want to use the query to fetch the data. I want to fetch the data from the list which i had already created in sharepoint site and want to display that data in a datagrid.Can you tell me what all changes i can make in the existing code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amarnath</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-167</link>
		<dc:creator>Amarnath</dc:creator>
		<pubDate>Thu, 25 Jun 2009 08:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-167</guid>
		<description>requirement is retrieving of data from list within specified date range start and end dates. this dates are taken as input from users. can i achieve this?</description>
		<content:encoded><![CDATA[<p>requirement is retrieving of data from list within specified date range start and end dates. this dates are taken as input from users. can i achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amarnath</title>
		<link>http://dotnetdreamer.com/2009/02/09/retrieving-sharepoint-list-data-using-caml/#comment-166</link>
		<dc:creator>Amarnath</dc:creator>
		<pubDate>Thu, 25 Jun 2009 08:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetdreamer.wordpress.com/?p=84#comment-166</guid>
		<description>Hi Ramprasad,

thnaks for the nice post. i have a requirement like this:

I have list with name &quot;MyList&quot; i have to fetch data from this list with query start_data  somedate or type = sometype

here start_data, type are list colums and somedate are taken as input from users.


i have ben working for this from past 2 months can you please help on this?</description>
		<content:encoded><![CDATA[<p>Hi Ramprasad,</p>
<p>thnaks for the nice post. i have a requirement like this:</p>
<p>I have list with name &#8220;MyList&#8221; i have to fetch data from this list with query start_data  somedate or type = sometype</p>
<p>here start_data, type are list colums and somedate are taken as input from users.</p>
<p>i have ben working for this from past 2 months can you please help on this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
