Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.. to all
I've created one crystal report and one crystal report viewer in .aspx page
I've connected to the database using database expert..
now i want to display total no of salary in 22,22,22,222.00
but it is displaying in this format 222,222,222.00
please help me.. and i want to display in words also.
i.e two crore two lakhs twenty two thousand two hundred and twenty two only..
Its urgent..


<edit>Removed pre tags with text
Posted
Updated 19-Sep-10 18:40pm
v2

1 solution

I think the specific format you could not get in Crystal Report,
But there is a way to Accomplish by code Behind,

1. Number format you can take number as a String and Add ',' after every two digits and Fill it to Data Table and Bind this Table to Crystal Report and Care it as a String Rather then Number

2. Number in Words,
For that you can take reference of my Article which is well explained regarding this.
http://www.codeproject.com/KB/cs/Converter.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900