SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is here any limitation about read the records from any lists in sharepoint?

my codes are default that downloaded from msdn:

    string siteUrl = SharePointAddressURL;

    ClientContext clientContext = new ClientContext(SharePointAddressURL);
    SP.List oList = clientContext.Web.Lists.GetByTitle(TargetListName);

    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml = "<View><Query><Where><Geq><FieldRef Name='ID'/>" +
        "<Value Type='Number'>10</Value></Geq></Where></Query><RowLimit>500</RowLimit></View>";
    ListItemCollection collListItem = oList.GetItems(camlQuery);


    catch (Exception e1)
        lblMessage.Text = e1.Message;


is there RowLimit limitation?

this app works very good but newer records that their ID greater that about 500 does not appear

very strange for me

share|improve this question
up vote 3 down vote accepted

You added the <RowLimit>500</RowLimit> yourself in the ViewXml Property - so only 500 items will be returned. AFAIK there is no limit, but you could run into a timeout or memory limit on your client.

I would recommend you the free CAMLDesigner ( - there you can create your caml and check the results in a nice GUI.

share|improve this answer
when i'm starting programming this app copy and paste from msdn and because i don't know anything about this CAML never have enough attention to it. this is very joky for me that why i haven't seen it . but CAML DESIGNER that you recommend is very simple and useful for teaching and learning. thanks. so thanks. – saber tabatabaee yazdi May 28 '13 at 6:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.