You will find that your checkbox list is populated with the selected value.
Save selected checkboxes in the list item as below
SPFieldMultiChoiceValue multiValue = new SPFieldMultiChoiceValue();
foreach (ListItem item in multiValueInputFormCheckBoxList.Items)
{
if (item.Selected) multiValue.Add(item.Value);
}
item["multivalued choice field name"]= multiValue;
Happy Coding !!!
Wonderful.. really helped a lot
ReplyDeleteActually searching from last 1Hr. and finally got it!
ReplyDeleteThis helped me a lot! Thanks! :-)
Visit My Blog
yes its saved my day. Thank you
ReplyDeleteoh why, why SharePoint all that hard. all you have to look for and try ... There are no simple ways
ReplyDeleteNew to this...
ReplyDeleteDo you add that code in the Default.aspx.cs or the Default.aspx or in a script file