Connecting Tech Pros Worldwide Forums | Help | Site Map

checkedlistbox and string

Newbie
 
Join Date: May 2009
Posts: 1
#1: May 21 '09
I have a comma separated string and I want to load all values into checkedlistbox control of my windows application in C#.............how do I do that....

any help appreciated!

Jeet

tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,777
#2: May 21 '09

re: checkedlistbox and string


1. Read up on the string type in the MSDN Library so you can be familiar with all its methods.
2. Notice that one of those methods is the .Split() method
3. Use that .Split() method to break up your string on all the commas
Reply