public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { RemaindersReport rpt = new RemaindersReport(); rpt.Site = this.Site; return(rpt); }
public ShowRemainderReport(Form1 form) { InitializeComponent(); ths = form; string userName = ths.userName.Text.ToLower(); userID = ths.userID; report = new RemaindersReport(); report.SetParameterValue(0, 3); crystalReportViewer1.ReportSource = report; }