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