Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Rpte_Cotizacion rpt = new Rpte_Cotizacion();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        public void Crear_Impresion_Cotizacion()
        {
            RN_Cotizacion cotizacion = new RN_Cotizacion();
            DataTable     datos      = new DataTable();

            datos = cotizacion.RN_Buscar_Cotizaciones_Editar(Convert.ToString(this.Tag));
            Rpte_Cotizacion reportEjemplo = new Rpte_Cotizacion();

            this.VzrCoti.ReportSource = reportEjemplo;
            reportEjemplo.SetDataSource(datos);
            reportEjemplo.Refresh();

            this.VzrCoti.ReportSource = reportEjemplo;
        }