title: SharePoint list CAML query using CONTAINS
body: <p>I'm trying to query a SharePoint list using the following CAML query in a webpart. I have tested the query in U2U CAML Query Builder and Stramit CAML Viewer and it works fine, only returning the matching records, but when I use it in my webpart it return all list items. It is driving me crazyyyyy. Here is the code:</p>
  
  <pre><code>string camlQuery = string.Format(@"&lt;Query&gt;&lt;Where&gt;&lt;Contains&gt;&lt;FieldRef Name='Title' /&gt;&lt;Value Type='Text'&gt;2&lt;/Value&gt;&lt;/Contains&gt;&lt;/Where&gt;&lt;/Query&gt;");
  
  SPQuery query = new SPQuery();
  query.Query = camlQuery;
  SPListItemCollection items = Articles.GetItems(query);
  grid.DataSource = items.GetDataTable();
  grid.DataBind();
  </code></pre>