Problem of using Globalization
-
Hi All Im using VS.NET 2005 for web application,and there im using 3 diffenet lanuages french, dutch and english.also im having dropdown and there im load some Quantity and other dropdown will load some decima values, when i change the lanuage all value change according to lanuage so when i passed that value to database it is not giving any result becous, all the decimal value change as comma Example- Decimals In English-50.50 In France- 50,50 In Ducth -50,50 Quantity In English-50 In France- 50,00 In Ducth -50,00 So this is the problem, i need to passed exact value to database, pls help me to solve this problem. Thanks
-
Hi All Im using VS.NET 2005 for web application,and there im using 3 diffenet lanuages french, dutch and english.also im having dropdown and there im load some Quantity and other dropdown will load some decima values, when i change the lanuage all value change according to lanuage so when i passed that value to database it is not giving any result becous, all the decimal value change as comma Example- Decimals In English-50.50 In France- 50,50 In Ducth -50,50 Quantity In English-50 In France- 50,00 In Ducth -50,00 So this is the problem, i need to passed exact value to database, pls help me to solve this problem. Thanks
You need to write code that is localisation aware in all ways. Which means you need to work out the number format for each locale, and either sanitise it, or make your DB able to handle it
Christian Graus Driven to the arms of OSX by Vista.