private void btnLamMoi_Click(object sender, EventArgs e)
        {
            dtThanglapBaoCao.Value = DateTime.Now;

            QuanLyBaoCaoBUS quanLyBaoCaoBUS  = new QuanLyBaoCaoBUS();
            DataTable       dtThongTinBaoCao = quanLyBaoCaoBUS.LayThongTinBaoCaoMuonSachTheoTheLoai("0001-01-01");

            dgvBaoCaoMuonSachTheoTheLoai.DataSource = dtThongTinBaoCao;
        }
Ejemplo n.º 2
0
        private void btnLamMoi_Click(object sender, EventArgs e)
        {
            dtNgayLapBaoCao.Value = DateTime.Now;

            QuanLyBaoCaoBUS quanLyBaoCaoBUS  = new QuanLyBaoCaoBUS();
            DataTable       dtThongTinBaoCao = quanLyBaoCaoBUS.LayThongTinBaoCaoDocGiaNoTienPhat("0001-01-01");

            dgvBaoCaoDocGiaNoTienPhat.DataSource = dtThongTinBaoCao;
        }
        private void btnHoanTat_Click(object sender, EventArgs e)
        {
            try
            {
                string ThangLapBaoCao = dtThanglapBaoCao.Value.ToString("yyyy-MM-dd");

                QuanLyBaoCaoBUS quanLyBaoCaoBUS  = new QuanLyBaoCaoBUS();
                DataTable       dtThongTinBaoCao = quanLyBaoCaoBUS.LayThongTinBaoCaoMuonSachTheoTheLoai(ThangLapBaoCao);


                dgvBaoCaoMuonSachTheoTheLoai.DataSource = dtThongTinBaoCao;
                CapNhatSTT();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Ejemplo n.º 4
0
        private void btnHoanTat_Click(object sender, EventArgs e)
        {
            try
            {
                string NgayLapBaoCao = dtNgayLapBaoCao.Value.ToString("yyyy-MM-dd");

                QuanLyBaoCaoBUS quanLyBaoCaoBUS  = new QuanLyBaoCaoBUS();
                DataTable       dtThongTinBaoCao = quanLyBaoCaoBUS.LayThongTinBaoCaoDocGiaNoTienPhat(NgayLapBaoCao);


                dgvBaoCaoDocGiaNoTienPhat.DataSource = dtThongTinBaoCao;
                CapNhatSTT();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }