Let's say I'm querying a big list but only need a subset of the rows for demo purposes. What's the easiest way to say "Top 100 Rows" or similar in CAML? Can't seem to find a statement out there. Thanks!
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
Are you using SPQuery object? If so, you can use the RowLimit property of SPQuery object. |
|||
|
|
You can do this with the MSDN: http://msdn.microsoft.com/en-us/library/dd588460(office.11).aspx From what I can find, it should look something like this:
Never used it myself though. |
|||
|
|