예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptBarrios rpt = new rptBarrios();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        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();
        }
예제 #3
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptBarrios rpt = new rptBarrios();
     rpt.Site = this.Site;
     return rpt;
 }
예제 #4
0
 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();
 }