1
vote
2answers
2k views

Using SPQuery with SPList.GetItems(SPView)

I have a web-part which displays a variety of items in a spgridview based on a SPView. Additionally, I have implemented a search module which when a keyword is entered should get all items that has a ...
2
votes
2answers
1k views

SPQuery works on libraries under the list view threshold, but not over

So I am building a webpart which enumerates all doclibs in the current web, grabbing all checked out files and listing them in a table, allowing a user to apply some required metadata and check in ...
0
votes
1answer
2k views

How to set caml query for special view?

I have a list with 3 views. I want find special items of this. I use SPQuery for it. <Where> <Eq> <FieldRef Name='TypeTitle' /> <Value ...
1
vote
2answers
3k views

date ranges in CAML queries

I have a list with a datetime filed. I want selected items from this with date rang. I use this code <Where> <And> <Geq> <FieldRef Name='SendDate' /> <Value ...
0
votes
3answers
816 views

What is the difference between CamlQuery and SPQuery

Maybe a simple question, when to use CamlQuery and when to use SPQuery ? I think that SPQuery is used inside a WebPart running on the SharePoint server, and that CamlQuery is part of the Client ...