I have a datatable and im checking if each cell contains a value or not to check that am using two for each loops:
for each-> Dt.Rows
for each -> Dt. Columns
if any of the value is null i need to store the column name -> “col.toString”
and mail the missing column to admin. so this is my requirement…
Here the issue is i need to send mail only after the loop completes the first row…fo ex my DT is 4 rows and 10 columns… I have checked each row by using the above condition so how to check if the first row has completed and mail and also to all other 3 rows.
if i put the send mail activity inside the for each it sends mail for each row(col) but i want to send once it completed the first row i need to send mail. and after same for second and third row. Can anyone suggest some ideas please???