English 中文(简体)
平等问题
原标题:Sharepoint SPQuery problem

I m试图在SPList上使用“GetItems()”方法,我向它转达了“质量”方法。 问题在于,它把所有物品从我的SPList归还,而不仅仅是过滤的物品。 我要问:

 <WHERE><Eq><FieldRef Name= Type  /><Value Type= Text >Analysis</Value></Eq></WHERE>

类型一栏的打字器是单一行文,即认为将文字翻译成非洲马列文。 然后,我只做标准 st子:

SPQuery q = new SPQuery();
q.Query = CAMLQuery.ToString();
var filtered = _NoticeList.GetItems(q);

filtered.Count is 4 instead of 2... perhaps someone cann se whats wrong with this code

最佳回答

我认为,《非洲马法》是敏感的,因此它必须:

<Where><Eq><FieldRef Name= Type  /><Value Type= Text >Analysis</Value></Eq></Where>

否则,你会试图重新命名类型领域,因为它可能被解释为内部领域。

问题回答

暂无回答




相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签