I am Printing all the Rows of a data table using for each loop, inside the for each loop i am using message box to print it but I need to print each row with its headings

@Gopikrishna_S ,

Could you let us know what is your Objective ?

Do you want to Add a Table in Mail Body? This was not mentioned in the Topic.

However, if you do want to add table in Mail Body you would have to Convert the Datatable into Html Table.

You could Check the Below post for Performing this :

Let us know if this satisfies or do explain your actual requirement.