Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PatientReport rpt = new PatientReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void populateReport(string UID)
        {
            PatientReport report = new PatientReport();

            using (BDISAppMedicalConditions db = new BDISAppMedicalConditions())
            {
                var data = from patient in db.MedicalConditions
                           where patient.Patient_UID == UID
                           select patient;
                report.SetDataSource(data.ToList());
                reportViewer.ReportSource = report;
                reportViewer.RefreshReport();
            }
        }