public void themdulieu(Entity_RenLuyen et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblRenLuyen (MaSV, MaNamHoc, RenLuyen) VALUES     (N'" + et.MaSV + "',N'" + et.MaNamHoc + "',N'" + et.RenLuyen + "')");
 }
Exemple #2
0
 public void themdulieu(Entity_NguoiDung et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblNguoiDung (TaiKhoan,TenNguoiDung, MatKhau, LoaiNguoiDung, MaXacNhan) VALUES     (N'" + et.TaiKhoan + "',N'" + et.TenNguoiDung + "',N'" + et.MatKhau + "',N'" + et.LoaiNguoiDung + "',N'" + et.MaXacNhan + "')");
 }
Exemple #3
0
 public void themdulieu(Entity_SinhVien et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblSinhVien  (MaSV, HoSV, TenSV, NgaySinh, GioiTinh, QueQuan, MaLop)
                     VALUES     (N'" + et.MaSV + "',N'" + et.HoSV + "',N'" + et.TenSV + "',N'" + et.NgaySinh + "',N'" + et.GioiTinh + "',N'" + et.QueQuan + "',N'" + et.MaLop + "')");
 }
Exemple #4
0
 public void themdulieu(Entity_NamHoc et)
 {
     cn.ThucthiSQL("INSERT INTO tblNamHoc  (MaNamHoc, NamHoc) VALUES     (N'" + et.MaNamHoc + "',N'" + et.NamHoc + "')");
 }
Exemple #5
0
 public void themdulieu(Entity_MonHoc et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblMonHoc (MaMH, TenMH, SoTC) VALUES     (N'" + et.MaMH + "',N'" + et.TenMH + "',N'" + et.SoTC + "')");
 }
Exemple #6
0
 public void themdulieu(Entity_Diem et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblDiem (MaSV, MaMH,MaNamHoc, DiemCC,DiemKT1,DiemKT2,DiemGK,DiemThi) VALUES     (N'" + et.MaSV + "',N'" + et.MaMH + "',N'" + et.MaNamHoc + "',N'" + et.DiemCC + "',N'" + et.DiemKT1 + "',N'" + et.DiemKT2 + "',N'" + et.DiemGK + "',N'" + et.DiemThi + "')");
 }
Exemple #7
0
 public void themdulieu(Entity_ChuyenNganh et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblChuyenNganh (MaChuyenNganh, TenChuyenNganh)  VALUES     (N'" + et.MaChuyenNganh + "',N'" + et.TenChuyenNganh + "')");
 }
 public void themdulieu(Entity_Lop et)
 {
     cn.ThucthiSQL(@"INSERT INTO tblLop  (MaLop, TenLop, MaChuyenNganh,SiSo) VALUES     (N'" + et.MaLop + "',N'" + et.TenLop + "',N'" + et.MaChuyenNganh + "',N'" + et.SiSo + "')");
 }