.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Code Snippets >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Sharepoint 2010 using client object model to write into List

Posted By:Vinodh       Posted Date: September 19, 2011    Points: 40    Category: SharePoint    URL: http://www.dotnetspark.com  

A step by step procedure to write into list using client object model

For accessing Sharepoint list we need two types of Classes:

1. Client Context Class

     Web property

     List property

          Get by title

2. ListItemCreationinformation Class

Step by Step procedure to access sharepoint list

Step 1 : Create a new WPF project

Step 2 :

  Create  a WPF application as show below:


Step 3 : Downlaod these sharepoint related dlls and place it in 14 hive folder of your machine  , in which sharepoint server is not installed.


 Step 4 : Embed this Code :



Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend