Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     CrystalReport2 reporte = new CrystalReport2();
     CrystalReportViewer1.ReportSource = reporte;
 }
Exemple #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CrystalReport2 rpt = new CrystalReport2();
     rpt.Site = this.Site;
     return rpt;
 }