Aria Productions

Welcome to Aria Productions forum...One of the best clans and video makers in the world!
HomeCalendarFAQRegisterLog in

Share | 

 How to set values for a checkbox choice list field? (SPFieldMultiChoice)

Go down 

Posts : 3
Join date : 2010-08-24

PostSubject: How to set values for a checkbox choice list field? (SPFieldMultiChoice)   Tue Aug 24, 2010 11:55 am

This is a question I just recieved through my "contact" form for this blog. The person (Chris) who asked the question gave a wrong email address, so I will post the answer publicly since I believe this can help other starting sharepoint developers - especially since I saw some wrong tips coming up in google when you search for it. So here is the right way to do it.

Question: "Hi, thanks a mil for those snippets!One question: I'm trying to programatically add selected items of a checkBoxList to a SPListItem, but am not sure in what format it wants it. i.e I've added all items as you suggested - newItem["Name"] = "blah" etc, but when it comes to the field that requires the selected checkboxlist values, I'm stuck."

software packaging
Stainless Steel Sheet
Back to top Go down
How to set values for a checkbox choice list field? (SPFieldMultiChoice)
Back to top 
Page 1 of 1
 Similar topics
» Best DAC choice
» I need a Choice Scarf
» [090828] Hyori - Mnet 20s Choice {Chisub}
» AK's Take 3: Choice Band Conkeldurr, Bulky Hydreigon
» How will it determine who goes first if the speed boost of choice scarf makes it have a decimal?

Permissions in this forum:You cannot reply to topics in this forum
Aria Productions :: Gaming! :: Tips and tricks-
Jump to: