Dim a as double dim b as double dim result1 as double If Not Double.TryParse(KMTextBox.Text, A) Then MessageBox.Show("INVALID") Else If Not Double.TryParse(KFTextBox.Text, B) Then MessageBox.Show("INVALID") Else result1 = A + B KTTextBox.Text = result1.ToString("") End If End If <pre> Question: It works to compute the sum of the textboxes but when i click on the save button, "INVALID" pops up. KM,KF,KT in my database has a Data Type as Number