i'm a newbie and i am trying to fill a datagrid with some data from my list of classes.
I have 2 classes, clients and kal
in the calvul class i have a klid that contains the id that corresponds with the Id from Clients
the datagrid's datacontext is kal (it show some info + clientsname)
so in my datagrid i want a dropdown with all the clients
but it should show at startup the value thats is in my klid from kal
but i can't figure out how to get this working...
in my code i have
KalenderGrid.DataContext = Kal;
gezinColumn.ItemsSource = Klanten;