Geeks With Blogs
Realizing Results my personal notes on C#, SharePoint and object oriented programming

below is the code snippet on how to update a field in sharepoint list which contains multiple chioce value

using(SPWeb oWebsite = SPContext.Current.Site.AllWebs["Site_Name"])
{
  SPList oList = oWebsite.Lists["listname"];
  SPListItem oListItem = oList.Items[0];

  oListItem["columnname"] = "choice1;#chioce2;#chioce3"
  oListItem.Update();
}

 

Posted on Tuesday, August 31, 2010 4:38 PM | Back to top


Comments on this post: Update multichioce field in SharePoint List using C#

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Manish Sati | Powered by: GeeksWithBlogs.net