Пример #1
0
        public static bool Luu_Ket_Qua(KETQUATHI kqua)
        {
            using (var QLTTN = new QLTTNDataContext())
            {
                var Querry = (from kq in QLTTN.KETQUATHIs
                              where kq.MaKyThi == kqua.MaKyThi && kq.MaDeThi == kqua.MaDeThi && kq.TaiKhoan == kqua.TaiKhoan
                              select kq).Count();
                if (Querry == 0)
                {
                    DAO_Hoc_Sinh.Luu_Ket_Qua(kqua);
                    return(true);
                }

                else
                {
                    return(false);
                }
            }
        }
Пример #2
0
 public static string ID_Khoi(string Ten_Lop)
 {
     return(DAO_Hoc_Sinh.ID_Khoi(Ten_Lop));
 }
Пример #3
0
 public static void Sua_Thong_Tin(Hoc_Sinhh hs_new)
 {
     DAO_Hoc_Sinh.Sua_Thong_Tin(hs_new);
 }
Пример #4
0
 public static List <Lich_Thi> Lay_lich_Thi(string Ma_Lop)
 {
     return(DAO_Hoc_Sinh.Lay_lich_Thi(Ma_Lop));
 }