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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        public void TkDtNgayTrongThang()
        {
            DoanhThuDTO doanhthu = new DoanhThuDTO();

            doanhthu.ThoiGianKt = dtpthoigian.Value.ToString();
            DataSet              ds     = doanhthu_bus.ThongKe_DtCaTrongNgay(doanhthu);
            TKDtNgayTrongThang   tkdt   = new TKDtNgayTrongThang();
            TKDtNgayTrongThangIn tkdtin = new TKDtNgayTrongThangIn();

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