Ejemplo n.º 1
0
        public Brojac(DataTable brojac):this()
        {
            BrojacCrystalReport brojacCrystalReport = new BrojacCrystalReport();
            brojacCrystalReport.SetDataSource(brojac);

            brojacCrystalReportViewer.ReportSource = brojacCrystalReport;

            brojacCrystalReportViewer.ShowZoomButton = false;
            brojacCrystalReportViewer.ShowGroupTreeButton = false;
            brojacCrystalReportViewer.ShowRefreshButton = false;
            brojacCrystalReportViewer.DisplayGroupTree = false;
            //kada se klikne na subreport nece ga otvoriti u zasebnom prozoru
            brojacCrystalReportViewer.EnableDrillDown = false;
        }
Ejemplo n.º 2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     BrojacCrystalReport rpt = new BrojacCrystalReport();
     rpt.Site = this.Site;
     return rpt;
 }