public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            TKDtThangTrongNamIn rpt = new TKDtThangTrongNamIn();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        public void TkDtThangTrongNam()
        {
            DoanhThuDTO doanhthu = new DoanhThuDTO();

            doanhthu.ThoiGianKt = dtpthoigian.Value.ToString();
            DataSet             ds     = doanhthu_bus.ThongKe_DtThangTrongNam(doanhthu);
            TKDtThangTrongNam   tkdt   = new TKDtThangTrongNam();
            TKDtThangTrongNamIn tkdtin = new TKDtThangTrongNamIn();

            tkdtin.SetDataSource(ds.Tables[0]);
            tkdt.crvTKDtThangTrongNam.ReportSource = tkdtin;
            tkdt.ShowDialog();
        }