Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            SvaDokumentaRpt rpt = new SvaDokumentaRpt();

            rpt.Site = this.Site;
            return(rpt);
        }
 private void DokumentaFrmRpt_Load(object sender, EventArgs e)
 {
     if (this.jmbg == "")
     {
         SvaDokumentaRpt sdr = new SvaDokumentaRpt();
         this.crystalReportViewer1.ReportSource = sdr;
     }
     else
     {
         SvaDokumentaKorisnik sdk = new SvaDokumentaKorisnik();
         sdk.SetParameterValue("jmbg", this.jmbg);
         this.crystalReportViewer1.ReportSource = sdk;
     }
 }