I have an Input file as excel; I would like to treat it this way:
1- read the file and store it in a dataTable,
2- from this DataTable I make a filter which allows me to take all the rows which contain the same mail (column “email”) And column “ClientNum”
this filter allows me to treat all invoices by client at once and send them in a single email. To client
Once I finish whith the first client I treat the second, third …. To end of file
My condition to filter is the string of in the email column and the Client Number in the column ClientNum
once I finish treating a client I have to add it to a list so that I don’t reprocess it again. or delete it from my dataTable
I put you an excel file as an example