How to convert datatable to html format in windows platform without using foreach

having data in datatable would like to send that over mail in html format, tried Novigosolution which is having a utility to convert datatable to html but that supports only Legacy…I am trying in windows project @Harshith_Adyanthaya

Please Help

Hi @jain.priti26

Check out this thread it might help you.

Regards,

Hi @jain.priti26 ,

DataTableToHTML.zip (3.3 KB)

Try this. Hope it helps.