Hello,
This is helpful to you. Pls try once.
string strTable;
foreach (DataTable vTable in dsDataSet.Tables)
{
foreach (DataRow vRow in vTable.Rows)
{
strTable = "<table style='clear:both'><tr>";
foreach (DataColumn vCol in vTable.Columns)
{
strTable+= "<td>" + vRow[vCol.ColumnName] + "</td>";
}
strTable += "</tr></table>";
}
}