예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalCredenciales rpt = new CrystalCredenciales();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void comboBox2_SelectionChangeCommitted(object sender, EventArgs e)
        {
            Reortes             servicios = new Reortes();
            Jugadores           datos     = servicios.FiltrarJugadores(Convert.ToInt32(comboBox2.SelectedValue));
            CrystalCredenciales report    = new CrystalCredenciales();

            report.SetDataSource(datos);
            crystalReportViewer1.ReportSource = report;
        }
예제 #3
0
        private void frmCredenciales_Load(object sender, EventArgs e)
        {
            comboLigaCREDE();

            CrystalCredenciales rep = new CrystalCredenciales();

            rep.SetDataSource(reportes.CargarArticulos());
            crystalReportViewer1.ReportSource = rep;
        }