Esempio n. 1
0
 public void LoadData()
 {
     try
     {
         dgrDanhSach.DataSource = qlMH.Chuong_trinh_theo_ke_hoach(PropertiesCls.tenDangNhap);
         dgrTinChi.DataSource   = qlMH.Mon_dang_ky(PropertiesCls.tenDangNhap);
         label1.Text            = "Số tín chỉ đã đăng ký: " + qlMH.Dem_so_tin_chi(PropertiesCls.tenDangNhap) + " tín chỉ";
     }
     catch
     {
         MessageBox.Show("Không tìm thấy nội dung!");
         return;
     }
 }
Esempio n. 2
0
        public IEnumerable <dynamic> LayMonHocTrongChuongTrinh(string maSV)
        {
            var monHoc = ql.Chuong_trinh_theo_ke_hoach(maSV);

            return(monHoc);
        }