public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReporteHistorialPagos rpt = new ReporteHistorialPagos(); rpt.Site = this.Site; return(rpt); }
private void frmVistaPrevHistorialPagos_Load(object sender, EventArgs e) { ReporteHistorialPagos rep = new ReporteHistorialPagos(); rep.SetParameterValue("@anio", anior); rep.SetParameterValue("@mes", mesr); rep.SetParameterValue("@nro_socio", nro_socior); crystalReportViewer1.ReportSource = rep; }