I am developing a web form. The user types in the quantity of the product which they want into a textbox. I then convert this value(string) and perform calculations on it (double). The problem is, if nothing is entered in any or all of the textBoxes, then I get a System.FormatException. Can anyone tell me what I'm doing wrong?
Please help. Many thanks.