Author: joeLA | Posted on: 2/10/2009 6:10:00 PM | Views : 297

I tried to create a dynamic html table using code behind as follow but it doesn't show render  the cell color nor font size i wanted...Any idea why or any suggestion..?

       if (reader.HasRows)
        {
            Panel1.Controls.Add(new LiteralControl("<table width=\"100%\" border=\"1\" style=\"text-align:center\">"));

            while (reader.Read())
            {
 
                sStudentName = reader.GetValue(1).ToString();
                sStudentPhone = reader.GetValue ...

Go to the complete details ...