I'm trying to convert an entry from a form text box to a double and am always getting "Input string was not in the correct format".
This is my code:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
If I hardcode:
dblAmount = double.Parse("1 0000");
it works
I'm using C# .net
This is my code:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
If I hardcode:
dblAmount = double.Parse("1 0000");
it works
I'm using C# .net
Comment