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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void btnTenis_Click(object sender, EventArgs e)
        {
            dtf.Visible      = true;
            dtini.Visible    = true;
            lblDesde.Visible = true;
            lblHasta.Visible = true;



            TorneoAnual.CrystalReports.CRTenis cRTenis = new CrystalReports.CRTenis();
            cRTenis.SetParameterValue("@Inicio", dtini.Value.Date);
            cRTenis.SetParameterValue("@fin", dtf.Value.Date);
            cv.ReportSource = null;
            cv.ReportSource = cRTenis;
        }