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

                                    I try format currency inside XtraReport by string.format but do not ok. Why not? This is my code

                                    string sotien = string.Format(" {0:0,0}",GetCurrentColumnValue("SoTien").ToString()).Replace(",",".");

                                    xrLabel_NumSoTien.Text = sotien;

                                    Then, I try code as

                                    xrLabel_NumSoTien.DataBindings.Add("Text", DataSource, "SoTien").FormatString="{0:0,0}";

                                    ==> it ok, but I want replace a comma to a dot. How can I do it? Please guide for me. Thanks so much

                                0

                                Hi Nguyen,

                                Thank you for contacting us. Please refer to the Formatting numeric values as Currency for an XrLabel thread, where a similar problem has been discussed. Let us know whether or not this information helps you.

                                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