Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • 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?

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                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.

                                You must  log in  or  register  to leave comments

                                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