Пример #1
0
        public virtual ReportDocument CreateReport()
        {
            CrystalReportFicha rpt = new CrystalReportFicha();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            string sql;
            string rut_env;

            CrystalReportFicha reporte = new CrystalReportFicha();

            rut_env = Request.QueryString["rut_env"];
            rut_env = "16125125";

            sql = EscribirCodigo(rut_env);

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

            reporte.SetDataSource(dsFicha1);
            VerFicha.ReportSource = reporte;
            ExportarPDF(reporte);
        }
Пример #3
0
 public virtual ReportDocument CreateReport()
 {
     CrystalReportFicha rpt = new CrystalReportFicha();
     rpt.Site = this.Site;
     return rpt;
 }
Пример #4
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            string sql;
            string rut_env;

            CrystalReportFicha reporte = new CrystalReportFicha();

            rut_env = Request.QueryString["rut_env"];
            rut_env = "16125125";

            sql = EscribirCodigo(rut_env);

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

            reporte.SetDataSource(dsFicha1);
            VerFicha.ReportSource = reporte;
            ExportarPDF(reporte);
        }