I fill my CheckBoxList with no problems! It turns out that I need to fill in the checked values that come from another table in array format (1|24|), how can I fill in with another datatable?
//LISTBOX
DataTable dTEmpCBox = ob_empresas.Retorna_dt_Servicos(1, 0);
CheckBoxList_Servicos.DataSource = dTEmpCBox;
CheckBoxList_Servicos.DataTextField = "serv_nome";
CheckBoxList_Servicos.DataValueField = "serv_id";
CheckBoxList_Servicos.DataBind();
Datatable with values in array
DataTable dtEmp = ob_empresas.Retorna_dt_Empresas_id(x_id, true, false);
how to make?