Hello to all,
I wanted to ask you if any of you could help me with my problem;
I have an excel table, in which there are some lines that I would like to eliminate, but the problem lies in the fact that these lines do not have a reference column.
a quick way would be to use 2 for each activities -
The first to retreive all rows that have the sentence in
dataRows variable type = System.Collections.Generic.List<System.Data.DataRow>
For each Column
Assign dataRows = datatable.AsEnumerable().Where(Function(row) row.Item(item.ToString).ToString()=“Hello”).ToList()
Replace hello with the sentence
Then use a for each to remove those rows
For each Row
Remove data row