Dim str As String = "123"
Dim fdr As DataRow = DataTables("表A").Find("名字1 like '%" & str & "%' Or 名字2 like '%" & str & "%'")
If fdr is Nothing then
fdr = DataTables("表B").Find("名字3 like '%" & str & "%'")
If fdr Is Nothing Then
msgbox("不包含")
return
End If
msgbox("包含")