private void Updatelists() { ListViewGuardians.SelectedItem = null; ListViewChildren.SelectedItem = null; ListViewConnections.SelectedItem = null; children = DbOperations.GetAllChildren(); ListViewChildren.ItemsSource = children; guardian = DbOperations.GetAllGuardians(); ListViewGuardians.ItemsSource = guardian; connections = DbOperations.GetChildGuardian(); ListViewConnections.ItemsSource = connections; ListViewConnections.DisplayMemberPath = "Fullinformation"; classes = DbOperations.GetAllClasses(); comboBoxClass.ItemsSource = classes; comboBoxClass.DisplayMemberPath = "ClassName"; }