Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CRGolf rpt = new CRGolf();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        private void btnKGolf_Click(object sender, EventArgs e)
        {
            dtf.Visible      = true;
            dtini.Visible    = true;
            lblDesde.Visible = true;
            lblHasta.Visible = true;

            TorneoAnual.CrystalReports.CRGolf cRGolf = new CrystalReports.CRGolf();
            cRGolf.SetParameterValue("@Inicial", dtini.Value.Date);
            cRGolf.SetParameterValue("@Final", dtf.Value.Date);
            cv.ReportSource = null;
            cv.ReportSource = cRGolf;
        }