Esempio n. 1
0
        private void updbtn_Click(object sender, RoutedEventArgs e)
        {
            updid = (StdDG.SelectedItem as Студент).Код_студента;
            NewStudent st = new NewStudent();

            st.Show();
        }
Esempio n. 2
0
        private void NewStd_Click(object sender, RoutedEventArgs e)
        {
            db.Студент.ToList()[0].Имя = "Илья";
            NewStudent st = new NewStudent();

            st.Show();
        }