Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FacilitiesInfo rpt = new FacilitiesInfo();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void buttonFacilityInformation_Click(object sender, EventArgs e)
        {
            SA46Team09BEntities context = new SA46Team09BEntities();
            FacilitiesInfo      CR      = new FacilitiesInfo();

            CR.SetDataSource(context.FacilityInformations);
            crystalReportViewerReport.ReportSource = CR;
            ((MAIN)MdiParent).UpdateStatusLabel("Report Generated");
        }