Aria Productions
Welcome!


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)

View previous topic View next topic Go down 
AuthorMessage
raja123
Noob
Noob


Posts: 3
Join date: 2010-08-24

PostSubject: How to set values for a checkbox choice list field? (SPFieldMultiChoice)   Tue Aug 24, 2010 9: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)

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» SUN 5/4/14 SW Day at Coolray Field AAA Braves, Lawrenceville
» List of Jobs
» [Tut][List] Tutorials Index
» Bans & Warnings List
» List Kaki Hancing kat FLG

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