In classic ASP we would have an HTML page and an ASP page.

In HTML page we would have a place holder something like this:

Code:
<form>
    <table>
         <!-- Values -->
    </table>
</form>
In ASP page we would replace the "<!-- Values -->" to the rest of the table information, something like this:

Code:
    stringTable = "<tr><td>" & tableRS("FieldName") & "</td></tr>"

    strOutPutHTML = Replace(strOutPutHTML , "<!-- Values -->", stringTable)
    response.write(strOutPutHTML)
How can we acomplish this in ASP.NET code behind using C#?