Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FacilitiesInfo rpt = new FacilitiesInfo();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 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");
        }