コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            RepSummon rpt = new RepSummon();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
ファイル: ShowReport.cs プロジェクト: malekula/smngit
        public ShowReport(List <SummonVOForReport> sl)
        {
            InitializeComponent();
            RepSummon rs = new RepSummon();

            rs.SetDataSource(sl);
            RepViewer.ReportSource = rs;
            //LineObject L23 = rs.Section2.ReportObjects["Line23"] as LineObject;
            //FieldObject PN2 = rs.Section2.ReportObjects["PageNumber2"] as FieldObject;
            //TextObject T = rs.Section2.ReportObjects["Text43"] as TextObject;
            //T.Top
            //T.Text = PN2.;
            //string SectName = L23.EndSectionName;
        }