public Huizenwijzigen() { databaseDataContext db = new databaseDataContext(); InitializeComponent(); cbType.ItemsSource = db.housetypes; cbType.DisplayMemberPath = "type"; cbGrootte.ItemsSource = db.housesizes; cbGrootte.DisplayMemberPath = "size"; }