Ejemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            dpNgaysinh.SelectedDate = DateTime.Now;
            xl = new CXulySinhvien();
            dc = new QLKTXDataContext();


            cmbMaphong.ItemsSource = dc.PHONGs.ToList();
            xl.kiemtra();
            dgDSSVDango.ItemsSource = xl.getDSSinhienViewDango();
            dgDSSVDao.ItemsSource   = xl.getDSSinhienViewDao();
        }