title: Sharepoint dynamic caml query problem?
body: <p>I want to dynamic caml query based on query string.Let me explain it with example</p>
  
  <p>my query sting can be anything</p>
  
  <pre><code>?cat=ABC&amp;cat=ABD&amp;cat=ABE...
  ?Cat=ABC
  ?Cat=ABC&amp;cat=ABL
  </code></pre>
  
  <p>so no. can be anything now the problem begins</p>
  
  <p>I want to query my sharepoint list based on this query string</p>
  
  <pre><code>if (HttpContext.Current.Request.QueryString["cat"] != null)
          {
              string _cat = HttpContext.Current.Request.QueryString["cat"].ToString();
          }
  </code></pre>
  
  <p>so this way my string contains all the query </p>
  
  <pre><code>string _cat=ABC,AD,....all.
  </code></pre>
  
  <p>I want to query my sharepoint list based on these query string and with "AND"</p>
  
  <pre><code>where title=ABC and title=AD ....
  </code></pre>
  
  <p>if there is only one query string then only
  where <code>title=ABC</code>....so I want my query string should be dynamic....
  Any idea how to acheive this??</p>