public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rpt_patient rpt = new rpt_patient(); rpt.Site = this.Site; return(rpt); }
private void crystalReportViewer1_Load(object sender, EventArgs e) { CR = new rpt_patient(); //CR.SetParameterValue(0, username); crystalReportViewer1.ReportSource = CR; }