diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 95abbe8..8cceee7 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -207,7 +207,7 @@ public partial class MainWindow : Window { try { - ((Student)LbStudentsImported.SelectedItem).Name = TbStudentID.Text; + ((Student)LbStudentsImported.SelectedItem).ID = TbStudentID.Text; } catch {