Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Dear :

                                         I want to consult that how to bind two XRTables within two Datatables seperately in one XtraReport and how to locate the second XRTable after the first one is displayed?

                                    Best regards,

                                0

                                Hi Yuhong,

                                Please use the XRSubreport control to resolve this problem. Hopefully, this will help you.

                                Thanks,
                                Elliot

                                0

                                Dear :

                                     I have tried to use XRSubreport to bind data, but some error surfaced in the attach project and I don't know why. Pls help me analysis the issue and describe about the XRSubreport binding method in details.
                                     Thank you!

                                Best regards,

                                WebApplication1.rar
                                0

                                Dear :

                                    Sorry for missing some message.
                                    can you feel any free to give me a related sample?

                                0

                                Hi Yuhong,

                                Thank you for sending the sample project to us. I found several problems in your project. See my comments below:

                                1. The ReportViewer.Report Property should be assigned on every Page_Load event. Thus, you should comment out the following code:

                                	
                                [C#]
                                //if (IsPostBack || (Operation == "export")) //{

                                2. To add an existing DataTable to a new DataSet, Table should be cloned. See the code below:

                                	
                                [C#]
                                dst.Tables.Add( table.Clone());

                                3. The "subreport.ReportSource = this;" code is not quite correct. It is impossible to use the MainReport as a subReport. You should create another Report class for your Subreport.

                                Feel free to contact us if you need any further clarification on this issue.

                                Thanks,
                                Sergi

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners