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:
In ASP page we would replace the "<!-- Values -->" to the rest of the table information, something like this:Code:<form> <table> <!-- Values --> </table> </form>
How can we acomplish this in ASP.NET code behind using C#?Code:stringTable = "<tr><td>" & tableRS("FieldName") & "</td></tr>" strOutPutHTML = Replace(strOutPutHTML , "<!-- Values -->", stringTable) response.write(strOutPutHTML)




Reply With Quote