Add,Delete,Retrieve list item REST Sharepoint 2010 |
Here is a quick example below of adding an item to the Announcements list using REST in SharePoint 2010. For adding, you call the specific AddTo method for your list, such as AddToAnnouncements and for updating and deleting, you use the UpdateObject and DeleteObject methods and pass in the object you want to update or delete. RESTReference.HomeDataContext context = new RESTReference.HomeDataContext( private void Add_Click(object sender, EventArgs e) private void Retrieve_Click(object sender, EventArgs e) |
Monday, November 28, 2011
Add,Delete,Retrieve list item REST Sharepoint 2010
Category:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment