Dim keywords() As String = {“FirstName”, “LastName”, “Gender”}
I have a datatable with just 1 column. I want to check if all the rows in the datatable contain all of the keywords, For example,
Table1
__________
FirstName
LastName
Gender
This table1 is valid.
Table2
______
FirstName
Gender
This table2 is not valid coz LastName is missing
Table3
______
FirstName
LastName
Gender
DateofBirth
This table3 is also valid coz it contains all the neccessary thing in the keyword. How can I do that ? Is it also possible to point out which is missing ? for example, in table2, LastName is missing.
Value added help would be .. check for duplicate as well .. but this is not essential .. if i can work out the first problem .. i am so grateful already ..
Thanks a lot ….
Simply rotate a loop to DataTable rows