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