Please assist i am using web application So, after clicking email
This is what shows up, thus I want the bot to remove one row after checking for duplicates under the Name column.
Please assist i am using web application So, after clicking email
you can extract the rows to datatable using extract table data
then find only the duplicate rows and then delete only them using the url you get for delete or the unique identifier or the row number
for identifying duplicates you can use linq
cheers
may I know what you have tried out of the steps I told there..do you face any challenge?
cheers
You can achieve this by extracting the table into a DataTable, checking for duplicates in the Name column, and then deleting only one of the duplicate rows from the web page.
Here is the recommended approach:
This will give you a DataTable, let’s call it dtTable.
Use this LINQ to find duplicates:
duplicateNames = dtTable.AsEnumerable().
GroupBy(Function(x) x(“Name”).ToString.Trim).
Where(Function(g) g.Count > 1).
Select(Function(g) g.Key).
ToList()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.