Hello sir i have a checkboxlist and after save value in db. i want to bind data for edit, I have a value in data table column like '12586,85696,25478,36982' now
I want to select multiple checkboxlist item
this is code -
- List<string> stringempcpf = dtQuery.Rows[0]["CPF"].ToString().Split(',').ToList();
- foreach (string strcpf in stringempcpf)
- {
- if (strcpf != "")
- {
- chkemployee.SelectedValue = strcpf;
- }
- }
This is checkboxlist


Sachin SinghRank #66 · 26.2K reputationPosted Dec 1, 2020, 1:15 AM EST
Rajanikant HawaldarRank #110 · 20.4K reputationPosted Dec 1, 2020, 2:20 AM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Dec 1, 2020, 4:24 AM EST
Vikas SinghRank #4,152 · 361 reputationPosted Dec 3, 2020, 8:06 PM EST