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