I am checking a couple of textboxes in my datarows. If the first textbox (event association 1) is not blank and it does not contain the word business, but the date of birth mtb is empty, then the statement is true and a messagebox will be displayed. Right now, I just don't understand the error, while debugging, regarding string conversion to boolean is not valid?
For Each Personrow As DataRow In PFC_Xpress.Tables("Person").Rows
If EVENT_ASSOC1.Text <> "" & EVENT_ASSOC1.Text <> "Business" Then
For Each Personrow1 As DataRow In PFC_Xpress.Tables("Person").Rows
DOB.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals
If DOB.Text = "" Then
Not_Business = True & MessageBox.Show("missing dob")
End If
Next
End If
Next