<?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/"
		>
<channel>
	<title>Comments on: How to Write An SPQuery Using Multiple AND OR Operators</title>
	<atom:link href="http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/</link>
	<description>Developer's blog related to ASP.NET, SharePoint and Telerik Web Controls</description>
	<lastBuildDate>Thu, 02 Feb 2012 19:47:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: shereen</title>
		<link>http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/comment-page-1/#comment-10501</link>
		<dc:creator>shereen</dc:creator>
		<pubDate>Fri, 18 Nov 2011 23:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=408#comment-10501</guid>
		<description>Hi Hazama,

What is the name of your &lt;strong&gt;Status&lt;/strong&gt; column and what type of column is it? Depending on what it is, you could write something like:

&lt;pre lang=&quot;csharp&quot;&gt;
&lt;Eq&gt;&lt;FieldRef Name=&#039;FullName&#039;/&gt;&lt;Value Type=&#039;Text&#039;&gt;&#039;&quot; + searchValue + &quot;&#039;&lt;/Value&gt;&lt;/Eq&gt;
&lt;/pre&gt;

In the above query, the &lt;strong&gt;searchValue&lt;/strong&gt; is what you would read from your search input. Does that answer your question?</description>
		<content:encoded><![CDATA[<p>Hi Hazama,</p>
<p>What is the name of your <strong>Status</strong> column and what type of column is it? Depending on what it is, you could write something like:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span>Eq<span style="color: #008000;">&gt;&lt;</span>FieldRef Name<span style="color: #008000;">=</span><span style="color: #666666;">'FullName'</span><span style="color: #008000;">/&gt;&lt;</span>Value Type<span style="color: #008000;">=</span><span style="color: #666666;">'Text'</span><span style="color: #008000;">&gt;</span><span style="color: #666666;">'&quot; + searchValue + &quot;'</span><span style="color: #008000;">&lt;/</span>Value<span style="color: #008000;">&gt;&lt;/</span>Eq<span style="color: #008000;">&gt;</span></pre></div></div>

<p>In the above query, the <strong>searchValue</strong> is what you would read from your search input. Does that answer your question?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hazama</title>
		<link>http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/comment-page-1/#comment-10361</link>
		<dc:creator>Hazama</dc:creator>
		<pubDate>Fri, 04 Nov 2011 09:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=408#comment-10361</guid>
		<description>I am developing a custom search screen. I want to get a list of items based on their status. For example: Approved OR Unapproved OR Rejected. I know that the CAML query should be something like ApprovedUnapproved/Rejected. How do I dynamically generate the CAML query for different searches?</description>
		<content:encoded><![CDATA[<p>I am developing a custom search screen. I want to get a list of items based on their status. For example: Approved OR Unapproved OR Rejected. I know that the CAML query should be something like ApprovedUnapproved/Rejected. How do I dynamically generate the CAML query for different searches?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Nilanka</title>
		<link>http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/comment-page-1/#comment-10034</link>
		<dc:creator>Dilip Nilanka</dc:creator>
		<pubDate>Sun, 18 Sep 2011 13:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=408#comment-10034</guid>
		<description>Great Post!</description>
		<content:encoded><![CDATA[<p>Great Post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links (4/30/2009) &#171; Steve Pietrek - Everything SharePoint and Office</title>
		<link>http://blog.qumsieh.ca/2009/04/28/how-to-write-an-spquery-using-multiple/comment-page-1/#comment-1793</link>
		<dc:creator>Links (4/30/2009) &#171; Steve Pietrek - Everything SharePoint and Office</dc:creator>
		<pubDate>Thu, 30 Apr 2009 23:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=408#comment-1793</guid>
		<description>[...] How to Write An SPQuery Using Multiple AND OR Operators  [...]</description>
		<content:encoded><![CDATA[<p>[...] How to Write An SPQuery Using Multiple AND OR Operators  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

