Click here to Skip to main content
15,922,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Sir,
I have some displaying problem in C# web page.
In c# web page the value that coming from database is not round figure and it show 0.977777777777 but i want only 0.98 . I also try round figure function in stored procedure, but its not work.
Actually in my table value it show 0.98 but in web page its show 0.977777777777.The Grid view directly fetch the value from data base and show the value 0.977777777 instence of 0.98. I am really not understand what exact problem and hows its solved.
Any body tell me whats exact problem.

Regards,
Ravi
Posted

 
Share this answer
 
Use the SafeMapping property of the OracleDataAdapter:http://download.oracle.com/docs/cd/B28359_01/win.111/b28375/featSafeType.htm[^]
 
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