I developed an application in WPF with C #. I have a window that contains a Combobox where the Items are composed of Checkbox with a foreach result of a table. My question is: How do I keep in the database with LINQ, the checkbox check that are inside the Combobox?
-XAML <ComboBox x:Name="Cbx_Programas">
<ComboBoxItem >
<CheckBox x:Name="Cbox_Programas"/>
</ComboBoxItem>
</ComboBox>
-Code-Behind foreach (var c in dbContext.Software)
{
Cbox_Programas = new System.Windows.Controls.CheckBox();
Cbox_Programas.Content = c.Nombre;
Cbx_Programas.Items.Add(Cbox_Programas);
}