Posso convertire una tabella C# creata in modo dinamico in una stringa html?Posso convertire una tabella C# creata in modo dinamico in una stringa html?
Intendo così;
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());
Voglio vedere nella pagina;
<table> <tr> <td> Some text...
Istanbul </td> <tr> </table>
Dovresti spiegare un po 'di più la tua domanda ... –
Che cos'è un C# tavolo? – Benjol
Cosa vuoi fare? Quando hai bisogno di quel tavolo? – Arthur