Can I convert a dynamically created c# table to an html string ?
I mean like this;
Table t = new Table();
TableRow tr = new TableRow();
TableCell td = new TableCell();
td.Text = "Some text... Istanbul";
tr.Cells.Add(td);
t.Rows.Add(tr);
t.ToString();
Response.Write(t.ToString());
I wanna see in the page;
<table> <tr> <td> Some text...
Istanbul </td> <tr> </table>