How to print Collection or DataTable in Email body?

Hi All,

Anyone can help me to print the all the item in collection or DataTable from one line to nextline in the Emailbody?

Thanks,
Ritesh

@Ritesh_Burman

You can try these

Or

Or

Cheers

Basically you have to loop through them and build the HTML code into a string as you go, like…

"<TR><TD>" + CurrentRow("SomeColumn").ToString + "</td><TD>" + CurrentRow("SomeotherColumn").ToString + "</td></tr>"

Hello @Ritesh_Burman

You can either use the above approaches or you can use Create HTML content activity to add the datatable directly to the email body.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.