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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void ListaContratos_Load(object sender, EventArgs e)
        {
            ContratoReporte contratoReporte = new ContratoReporte();

            contratoReporte.SetDataSource(lista);
            crystalReportViewer1.ReportSource = contratoReporte;
            crystalReportViewer1.Refresh();
        }