Hi,
I have a table on my ASP.net page something like this:
<table runat="server" id="resultsTable"></table>
I dynamically add content to the table, and it works just fine. However, I want to get the HTML of the table once I've added the dynamic content, i.e. something like this (formatting isn't important, I've just added it)
<table runat="server" id="resultsTable">
<tr>
<td>Hello!</td>
</tr>
<tr>
<td>Goodbye!</td>
</tr>
</table>
I need the result as a string. Obviously I could do some looping and build my own table with the data, but I'd prefer to not do that if at all possible.
Thanks!