I have this code that it works only if all the textBox contains values.. But if a textbox is empty i get an error..
Int32 Total = Int32.Parse((txtChild1.Text))
+ Int32.Parse(txtChild2.Text)
+ Int32.Parse(txtChild3.Text)
+ Int32.Parse(txtWife1.Text)
+ Int32.Parse(txtWife2.Text)
+ Int32.Parse(txtWife3.Text);
I know that it must be a function like IsNull but for the integer values.. Does anyone know what it is ?