Avatar of dkilby
dkilby
Flag for Canada asked on

C#.net split string and then check appropriate checkboxlist

I have a checkboxlist with 5 options, when saved it is in one database column, with each option seperated by a semi-colon, when the user goes back into the page to edit how do i take the value as a string and make sure it checks the right checkboxes in the list.

Thanks
C#.NET Programming

Avatar of undefined
Last Comment
dkilby

8/22/2022 - Mon
Ryan Chong

do you want to do it in Window Form or ASP.NET application? do you have some sample codes to share here?
ASKER CERTIFIED SOLUTION
Prakash Samariya

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
sarabande

why not using 5 columns? you always will have troubles with this field and it violates 1NF (first normal form) without any benefit.

Sara
dkilby

ASKER
thanks for the help
Your help has saved me hundreds of hours of internet surfing.
fblack61