public string GetRowAsHtml(Row row)
{
string html = "<tr>\n";
try
{
if (row != null)
{
if (row.Cells != null)
{
foreach(Cell cell in row.Cells)
html += this.GetCellAsHtml(cell);
}
}
}
catch(Exception ex)
{
throw new AODLException("Exception while trying to build a HTML string from a Row object.", ex);
}
if (!html.Equals("<tr>\n"))
html += "</tr>\n";
else
html = "";
return html;
}