/// <summary> /// 个人体检引导单打印 /// </summary> /// <param name="RegisterNo"></param> private void BuildIntroductionReport(String RegisterNo) { WebReport1.ReportFile = Server.MapPath("IntroductionReport.frx"); RegistrationViewEntity Registration = m_Registration.GetRegistration(RegisterNo); List <RegistrationViewEntity> Registrations = new List <RegistrationViewEntity>(); Registrations.Add(Registration); List <Package> Packages = m_ReportUtil.GetPackageItems(RegisterNo, Registration.PackageID.Value); List <GroupItem> GroupItems = m_ReportUtil.GetGroupItems(RegisterNo, Registration.PackageID.Value); WebReport1.Report.RegisterData(Registrations, "Registration"); WebReport1.Report.RegisterData(Packages, "Packages"); WebReport1.Report.RegisterData(GroupItems, "ItemGroups"); WebReport1.Prepare(); }