public void setdatalentextbox(string manv) { QLBHContext moi = new QLBHContext(); NhanVien nv = moi.NhanViens.Find(manv); txtMaNV.Text = nv.MaNV; cboMaCV.Text = nv.MaCV; txtHoTenNV.Text = nv.TenNV; txtDiaChi.Text = nv.DiaChi; rdioGioiTinh.SelectedIndex = 1; if (nv.GioiTinh == true) { rdioGioiTinh.SelectedIndex = 0; } dtngaysinh.DateTime = (DateTime)nv.NgaySinh; cboMaNVQL.Text = nv.MaNVQuanLi; txtSdt.Text = nv.Sdt; }
public GoiHopDongDao() { db = new QLBHContext(); }
public ChuKyThanhToanDao() { db = new QLBHContext(); }
public KhachHangDao() { db = new QLBHContext(); }
public NguoiThanDao() { db = new QLBHContext(); }
public CapDoDao() { db = new QLBHContext(); }