Пример #1
0
        private void UpdateViews()
        {
            Students.Items.Clear();
            DabtorsData.Rows.Clear();
            var dabtors = info.GetDebtorsList();

            foreach (StudentInfo student in dabtors)
            {
                DabtorsData.Rows.Add(student.ID,
                                     student.Group,
                                     student.Surname,
                                     student.NoAttistation);
                Students.Items.Add(student.Surname);
            }
            table.Create(info.GetDebtorsList());
        }