Author: Yaniv.net | Posted on: 8/21/2009 1:20:08 AM | Views : 254

Hi,
I was used to generating HTML code in a classic ASP right into the HTML code by just openning <% tag wherever i want in the page, iterating my db and use Response.write to write HTML code with the db values, Today in asp.net i have a few controls that help me with that, but what if i do not want to use them ? just generate the HTML code by myself , what is the right way ?
from the one side, i would like to keep a clean HTML page, and write it all in the code behind, from the other side i do not know any way to do the same except generating the HTML code into a long string and use div.InnerHTML = string to write it to the HTML page in a specific place.
are there any other ways to do that ?
 
Thanks
...

Go to the complete details ...