its a group by case
On the begin also a Non-LINQ approach is presented
row in dtData.DefaultView.ToTable(True, {“IID”})
so the data will be grouped by IID column
Within the group member processing the email body can be constructed e.g. by concatenation of the group member column values or taking the datatable with only the group related rows