I'm creating an html table using stringbuilder
eg.
Dim sTable as New StringBuilder
sTable.Append("<table><tr><td>"
sTable.Append("</td></tr></table>"
I need to put an <asp:textbox></asp:textbox> control in this table's cell. How do I do this?
The reason why I'm using stringbuilder is to set the text attribute of a label = stable.tostring in order to output the table in an exact spot.
Am I completely off the mark here in trying to output html and controls?
Help would be greatly appreciated.
Thanks.
eg.
Dim sTable as New StringBuilder
sTable.Append("<table><tr><td>"
sTable.Append("</td></tr></table>"
I need to put an <asp:textbox></asp:textbox> control in this table's cell. How do I do this?
The reason why I'm using stringbuilder is to set the text attribute of a label = stable.tostring in order to output the table in an exact spot.
Am I completely off the mark here in trying to output html and controls?
Help would be greatly appreciated.
Thanks.