private void InitVal() { gridControl1.DataSource = LinhKien_DAL.getAll_LinhKien(); gridThaoTac = new GridHelper <LinhKien_View>(gridControl1); gridThaoTac.Mapping("MaThuongHieu", ThuongHieu_DAL.getAll_ThuongHieu()); gridThaoTac.Mapping("MaNhaCungCap", NhaCungCap_DAL.getAll_NhaCungCap()); gridThaoTac.Mapping("MaDonViTinh", DonViTinh_DAL.getAll_DonViTinh()); count_row = 0; }
private void InitVal() { lstHD = NhanVien_DAL.getAll_NhanVien(); gridControl1.DataSource = lstHD; gridThaoTac = new GridHelper <NhanVien_View>(gridControl1); gridThaoTac.Mapping("MaLoaiNhanVien", LoaiNhanVien_DAL.getAll_LoaiNhanVien()); count_row = 0; }
private void InitVal() { lstHD = KhachHang_DAL.getAll_KhachHang(); gridControl1.DataSource = lstHD; gridThaoTac = new GridHelper <KhachHang_View>(gridControl1); gridThaoTac.Mapping("MaLoaiKhachHang", LoaiKhachHang_DAL.getAll_LoaiKhachHang()); count_row = 0; }