public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptBarrios rpt = new rptBarrios(); rpt.Site = this.Site; return(rpt); }
private void Imprimir() { SysConfigImplement oSysConfigImplement = new SysConfigImplement(); Reportes.frmReportes frmRpt = new Reportes.frmReportes(); Reportes.rptBarrios rpt = new Reportes.rptBarrios(); //Cargo el Data Set DataSet ds = new DataSet("Generico"); ds.Tables.Add(oSysConfigImplement.GetEncabezadoDT("Encabezado")); ds.Tables[0].TableName = "dtEncabezado"; ds.Tables.Add(oTarifaImplement.GetByTarifaDT("")); ds.Tables[1].TableName = "dtTarifas"; rpt.SetDataSource(ds); frmRpt.crvGenerico.ReportSource = rpt; frmRpt.Show(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptBarrios rpt = new rptBarrios(); rpt.Site = this.Site; return rpt; }