是"|开发者|管理员|测试员"这3个都没有才添加,还是说只要判断其中一个没有就添加
For Each dt As DataTable In DataTables
If dt.DataCols.Contains("用户") Then
For Each dr As DataRow In dt.DataRows
If dr("用户").Contains("开发者") = false Then
dr("用户") = dr("用户") & "|开发者"
End If'
If dr("用户").Contains("管理员") = false Then
dr("用户") = dr("用户") & "|管理员"
End If'
If dr("用户").Contains("测试员") = false Then
dr("用户") = dr("用户") & "|测试员"
End If'
Next
End If
Next