Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Iam using VS2010. rdlc reports, reportviewer control.

With my report, I have a textBox Value like the below

C#
=FormatNumber(First(Fields!inv_grand_total.Value, "DataSet1"),2)


It's showing the output like

10,368,785.44

But I wish to have

1,03,68,785.44

Is it possible..? Thanks
Posted

1 solution

Yes , you can apply

VB
Format(CDec(Fields!inv_grand_total.Value),"#,##,##,###.##")
 
Share this answer
 
Comments
Paramu1973 18-Mar-15 8:30am    
I tried. But It's not giving the required Output.
[no name] 20-Mar-15 7:27am    
This Works fine ,check you not assign any other property to format text,
else check in new report

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