public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Rpte_Cotizacion rpt = new Rpte_Cotizacion(); rpt.Site = this.Site; return(rpt); }
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; }