Sending a DataTable's content in an html email, what is the preferred way to generate HTML from a DataTable?
views:
39answers:
3
+2
A:
You could either :
- manually generate an HTML table by looping through the table data
- serialize the
DataTable
to XML (WriteXml
method), and perform an XSL transform on the XML to generate HTML
Thomas Levesque
2010-05-14 20:09:59