Posted on: 6/26/2015 4:36:38 PM | Views : 702

Hi
I need to convert one string to double (it's a price) and I get the following error:
Input string was not in a correct format. here is my code:
Line 41: command.Parameters.AddWithValue("@preco",System.Convert.ToDouble( preco.ToString())); I think the problem is about the decimal point in my country (Portugal) the decimal separator  is , and not .
Can someone help me with this issue?
regards
mario

Go to the complete details ...