Author: adrian_az | Posted on: 7/9/2010 1:24:14 PM | Views : 492

Hi all,
I have a literal which renders my information on my asp page, but am trying to apply some styling to it so its not plain bright white. My dynamic table is tied to my db. How would I, or which is the best way to apply some color and formatting to my literal? Here is a clip of my .cs page where I have some minor styling applied.


// start with table tag with following attributes dynTable = "<p><table cellspacing=\"0\" cellpadding=\"2\" border=\"1\" bgcolor=\"CCCCCC\">"; // create DOMAIN_NAME column dynTable += "<td align=\"center\">"; dynTable += "Domain Name"; dynTable += "</td>"; //start table row dynTable += "<tr>"; // create DOMAIN_NAME column ...

Go to the complete details ...