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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void imprimirDetalleFactura_Load(object sender, EventArgs e)
        {
            rptDetalleFactura factura = new rptDetalleFactura();

            factura.SetParameterValue("codFactura", numeroFactura);

            crvDetalleFactura.ReportSource = factura;
        }