i am writing a golf score program and i have 18 text boxes. i also have a text box that will calculate the total of all of the 18 other text boxes. what would be the best way to add these text boxes? i have already written code to only except numbers 1 thru 8 for each text box.

i started with some code like this:
Code:
TextBoxTotal.Text = CInt(TextBoxHole1.Text) + CInt(TextBoxHole2.Text) + CInt(TextBoxHole3.Text)
but if there is no value in one of the text boxes i get an error:
Conversion from string "" to type 'Integer' is not valid.

so i am guessing i need to check for empty strings and then ignore them

any suggestions?