Current filter:
                                You should refresh the page.
                                Support Center
                                  • Is it possible to store reports (REPX files) not as files, but to database fields instead? I know about the SaveLayout and LoadLayout methods, but is there any example of saving report layout to a DB?

                                1 Solution

                                Creation Date Rating Importance Sort by

                                Yes, it is possible to solve this task with XtraReports. The following example demonstrates how this can be done.

                                • Dhairut Dholakia 01.18.2013

                                  Alan..Guess the attachachment for the example is missing..Can you please add it again? Thanks

                                • Hello,

                                  The sample for this KB article is located in the How to store reports in a database thread.
                                  You can find a link to it in the "Example" section of the KB article.

                                • jack edwards 05.02.2014

                                  This looks like how to store the  "LAYOUT" only.

                                • Hi Jack,

                                  Yes, you are right. This example demonstrates how to store a report layout. However, you can use the LoadDocument and SaveDocument methods instead to store the report document. Alternatively, just rebind your report to data and recreate the report document after restoring the report's layout. 

                                  If you need any further assistance, please post your updates to your T101645: Store an entire report in a database ticket to avoid discussing multiple topics in this thread.

                                If you need additional product information, write to us at 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, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

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