public SQLiteConnection cmb;
private void comboBoxGroups_Selected(object sender, RoutedEventArgs e)
{
Group group = new Group();
using(var statement = cmb.Prepare("SELECT NameGroup FROM Groupt"))
{
statement.Bind(1, group.NameGroup);
while(statement.Step()==SQLiteResult.ROW)
{
comboBoxGroups.Items.Add(group.NameGroup);
}
}
}
SELECT ID,NameGroup FROM Groupt