Exemple #1
0
        public void SachTheoLoai(string MaDauSach)
        {
            List <SachDTO> lstSach = sachBUS.LaySachTheoDauSach(MaDauSach);

            this.rpvTatCaSach.LocalReport.ReportEmbeddedResource = "Quản_lý_thư_viện_Tri_Thức.rptSachTheoLoai.rdlc";
            this.rpvTatCaSach.LocalReport.SetParameters(new ReportParameter("paLoaiSach", MaDauSach));
            this.rpvTatCaSach.LocalReport.DataSources.Add(new ReportDataSource("dsSach", lstSach));
            this.rpvTatCaSach.RefreshReport();
        }