Posted 25 November 2005 - 02:28 PM
ok, i'm trying to covert a text box info into a string then into decimal format, like this
sSalary = txtSalary.ToString
Salary = Decimal.Parse(sSalary)
Salary = Decimal.Parse(txtSalary.ToString)
no matter what i do, i keep on getting this error message at runtime "Input string was not in a correct format"
i dont understand why this is happening, i dont get an error message when compling
Despite many reverses, freedom has won many battles. Many died in those battles in the conviction that to die in the struggle against oppression was better than to live without freedom. Such a death is the utmost assertion of their individuality. ~ Erich Fromm