Example #1
0
        public virtual ReportDocument CreateReport()
        {
            CrystalReportFlujo rpt = new CrystalReportFlujo();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void Page_Load(object sender, System.EventArgs e)
        {
            // Introducir aquí el código de usuario para inicializar la página
            string sql;

            //string post_ncorr;
            //string paga_ncorr;
            //string imprimirFinanza;
            //string paga_ncorr_d;
            //int fila = 0;
            //post_ncorr = Request.QueryString["post_ncorr"];

            sql = EscribirCodigo();

            //Response.Write(sql);
            //Response.End();

            oleDbDataAdapter1.SelectCommand.CommandText = sql;
            oleDbDataAdapter1.Fill(flujoVencimientoData1);

            //}

            //Response.End();

            CrystalReportFlujo reporte = new CrystalReportFlujo();


            reporte.SetDataSource(flujoVencimientoData1);
            VerReporte.ReportSource = reporte;
            ExportarPDF(reporte);
        }
        private void Page_Load(object sender, System.EventArgs e)
        {
            // Introducir aqu� el c�digo de usuario para inicializar la p�gina
            string sql;
            //string post_ncorr;
            //string paga_ncorr;
            //string imprimirFinanza;
            //string paga_ncorr_d;
            //int fila = 0;
            //post_ncorr = Request.QueryString["post_ncorr"];

            sql = EscribirCodigo();

            //Response.Write(sql);
            //Response.End();

            oleDbDataAdapter1.SelectCommand.CommandText = sql;
            oleDbDataAdapter1.Fill(flujoVencimientoData1);

            //}

            //Response.End();

            CrystalReportFlujo reporte = new CrystalReportFlujo();

            reporte.SetDataSource(flujoVencimientoData1);
            VerReporte.ReportSource = reporte;
            ExportarPDF(reporte);
        }
Example #4
0
 public virtual ReportDocument CreateReport()
 {
     CrystalReportFlujo rpt = new CrystalReportFlujo();
     rpt.Site = this.Site;
     return rpt;
 }