Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crIssuances rpt = new crIssuances();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void btnGenerate_Click(object sender, EventArgs e)
        {
            crIssuances crIssuances = new crIssuances();

            crIssuances.Database.Tables["issuancesreports_view"].SetDataSource(issuanceBL.ListForReports(dtpYearAndMonth.Text));


            crv.ReportSource = null;
            crv.ReportSource = crIssuances;
            crv.Refresh();
        }