Sunday, July 3, 2011

Sharepoint 2010 using client object model to write into List

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 :

      

No comments:

Post a Comment