Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

urgent help Cam query to last updated record in SharePoint 2010 Client Object Model

$
0
0

Hi ,

im new to share point, by using below query getting  all items, but we need to get last updated item in share point.

Please any one suggest me , w

 Web web = clientContext.Web;
            List list = web.Lists.GetByTitle("IR");

            
            // CamlQuery to retrieve the items from the custom list
            CamlQuery query = new CamlQuery();
            query.FolderServerRelativeUrl = "/teas/E/_la/IR";
            
            // Get the items from the list
            ListItemCollection itemColl = list.GetItems(query);
            clientContext.Load(itemColl);

            // Execute the query to the server
            clientContext.ExecuteQuery();





Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>