In datatable I need to check datarow count and if it has 5 rows then I need to send mail otherwise skip it

In datatable I need to check datarow count and if it has 5 rows then I need to send mail otherwise skip it. Any suggestions would be helpful?

Thanks,
Nawaz.

Hi @Mohammed_Nawazuddin

Refer the Screenshot

image

Regards
Gokul

Hi @Mohammed_Nawazuddin

In if condition datatable.rows.count = 5.

Then Proceed with sending mail.

Else Nothing

Regards