簡體   English   中英

添加subReport運行時DevExpress

[英]Adding subReport runtime DevExpress

我需要你的幫助 。 我想在表運行時添加子報表。 代碼是:

xrTableCell14.Controls.Add(xrSubreport5);
        xrSubreport5.BringToFront();
        xrSubreport5.Location = new Point(0, 0);

但它無法顯示結果。 我正在使用C#

很抱歉讓您失望,但實際的XtraReports實現並未提供實現此方案的功能。

在DevExpress上看到這個論壇帖子,其中有多個人要求提供該功能,但它仍然沒有實現!

http://community.devexpress.com//forums/p/55360/186621.aspx#186621

謝謝Vijay。 我解決了這個問題。 代碼:

 sub_Rpt_Education_RPT Education = new sub_Rpt_Education_RPT();
        Education.DataSource = _dt;
        Education.DataMember = "dtEducation";
        xrSubEducation.ReportSource = Education;
        xrTableRow12.Height = Education.RowCount * 23;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM