我无法让这个简单的 SPQuery 工作。它不返回任何项目。虽然我的文档库有 5 个项目,修改日期为 22/08/2013 12:46
请帮助我,我在哪里弄错了?
string SPquery = @"<Where><Geq><FieldRef Name='Modified'/><Value Type='DateTime'>22/08/2013</Value></Geq></Where>";
SPQuery oQuery = new SPQuery();
oQuery.ViewAttributes = "Scope=\"Recursive\"";
oQuery.Query = SPquery;
var query = documentLibraryAsList.GetItems(oQuery);
foreach (SPListItem spListIem in query)
{
string s = "Sure";
}