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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void ShowReport(DateTime date)
        {
            var list = oGerenciaMesBl.Filter(date);

            var rp = new Crystals.crGerenciaMes();
            var ds = new DataSet();

            var dt = Sigesoft.Node.WinClient.BLL.Utils.ConvertToDatatable(list);

            dt.TableName = "DtGerenciaMes";
            ds.Tables.Add(dt);

            rp.SetDataSource(ds);

            crvPorMes.ReportSource = rp;
            crvPorMes.Show();
        }