Taurian110
October 13th, 2005, 02:15 PM
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:
<form>
<table>
<!-- Values -->
</table>
</form>
In ASP page we would replace the "<!-- Values -->" to the rest of the table information, something like this:
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#?
In HTML page we would have a place holder something like this:
<form>
<table>
<!-- Values -->
</table>
</form>
In ASP page we would replace the "<!-- Values -->" to the rest of the table information, something like this:
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#?