Search code examples
c#devexpressxtrareport

How to convert a number to a string in XtraReport


In Crystal Reports the ToWords command converts a number into a string.

My question is: How can I achieve this in a DevExpress XtraReport?


Solution

  • Hey… As there is no any direct functionality to do this. It is possible by changing the XRLabel.Text property within its XRLabel.BeforePrint event handler in XtraReports. For example, you have to follow the link: http://www.osix.net/modules/article/?id=46. Hope this helps you!