Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptDoanhthuTDV rpt = new rptDoanhthuTDV();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void ShowDoanhthuTDV(DateTime from, DateTime to)
        {
            DataTable dt = tDoanhthuTDV.SetData(from, to);

            RPT.rptDoanhthuTDV rpt = new RPT.rptDoanhthuTDV();
            rpt.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            dt.Clear();
        }