Items return null value from query in sharepoint?
<p>I'm using this code to get items from the folder but it return <code>null</code> value in the <code>SPListItemCollection</code>.  What's the wrong in my code?</p>

<pre class="lang-cs prettyprint-override"><code>siteurl = SPContext.Current.Site.Url;
SPWeb web = SPContext.Current.Web;
SPList list = web.Lists["PoAlbum"];
SPQuery query = new SPQuery();
query.Query = "&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name='ContentType'/&gt;&lt;Value Type='Computed'&gt;Folder&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;";
DataTable listItemsTable = list.GetItems(query).GetDataTable();
string name = (listItemsTable.Rows[0]["NameOrTitle"]).ToString();      
SPFolder folder = web.GetFolder("/PoAlbum/" + name);
query.Folder = folder;
SPListItemCollection itms = list.GetItems(query);
reapeat.DataSource = itms.GetDataTable();
reapeat.DataBind();
</code></pre>
