Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCalles rpt = new rptCalles();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void Imprimir()
        {
            CalleImplement     oCalleImplement     = new CalleImplement();
            SysConfigImplement oSysConfigImplement = new SysConfigImplement();

            Reportes.frmReportes frmRpt = new Reportes.frmReportes();
            Reportes.rptCalles   rpt    = new Reportes.rptCalles();
            //Cargo el Data Set
            DataSet ds = new DataSet("Generico");

            ds.Tables.Add(oSysConfigImplement.GetEncabezadoDT("Encabezado"));
            ds.Tables[0].TableName = "dtEncabezado";
            ds.Tables.Add(oCalleImplement.GetByNombreDT(""));
            ds.Tables[1].TableName = "dtCalles";
            rpt.SetDataSource(ds);
            frmRpt.crvGenerico.ReportSource = rpt;
            frmRpt.Show();
        }
Exemple #3
0
 private void Imprimir()
 {
     CalleImplement oCalleImplement = new CalleImplement();
     SysConfigImplement oSysConfigImplement = new SysConfigImplement();
     Reportes.frmReportes frmRpt= new Reportes.frmReportes();
     Reportes.rptCalles rpt = new Reportes.rptCalles();
     //Cargo el Data Set
     DataSet ds = new DataSet("Generico");
     ds.Tables.Add(oSysConfigImplement.GetEncabezadoDT("Encabezado"));
     ds.Tables[0].TableName="dtEncabezado";
     ds.Tables.Add(oCalleImplement.GetByNombreDT(""));
     ds.Tables[1].TableName = "dtCalles";
     rpt.SetDataSource(ds);
     frmRpt.crvGenerico.ReportSource = rpt;
     frmRpt.Show();
 }
Exemple #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptCalles rpt = new rptCalles();
     rpt.Site = this.Site;
     return rpt;
 }