double temp;
temp = (double)Convert.ToDouble(\"1234.5678\");
Hey Lads and Ladies, I can\'t for the life of me figure out why the above line isn\'t
I found the problem when you let the text box empty then this error occurs so try this one to handle it.
An unhandled exception of type System.FormatException occurred in mscorlib.dll Additional information: Input string was not in a correct format.
if (!string.IsNullOrEmpty(Txt1.Text)) {int _qty = (int)Convert.ToInt32(Txt1.Text);}