Below is mycode

HtmlTable t1 = new HtmlTable();
                t1.ID = "SurveyTable1";
                t1.Attributes.Add("CELLSPACING", "0");
                t1.Attributes.Add("CELLPADDING", "3");
                t1.Attributes.Add("CLASS", "WhiteBackgroundColor");
                t1.Width = "100%";
                t1.Align = "center";
                t1.Border = 0;

                //<tr>
                HtmlTableRow anewrow1 = new HtmlTableRow();
                anewrow1.ID = "anewrow1";
                t1.Rows.Add(anewrow1);

                //<td>
                HtmlTableCell tempCell6 = new HtmlTableCell();
                tempCell6.ID = "tempCell6";
                tempCell6.Attributes.Add("CLASS",
"DarkBlueBackgroundColor");
                tempCell6.Width = "3%";

                //<td>
                HtmlTableCell tempCell7 = new HtmlTableCell();
                tempCell7.ID = "tempCell7";
                tempCell7.Attributes.Add("CLASS",
"MediumBlueBackgroundColor");
                tempCell7.Width = "4%";

                //<td>
                HtmlTableCell tempCell8 = new HtmlTableCell();
                tempCell8.ID = "tempCell8";
                tempCell8.Width = "85%";
                tempCell8.ColSpan = 2;
                tempCell8.VAlign = "middle";
                tempCell8.InnerHtml = "123nnnnnnnnnnnnnnnnnnn";


I WANT TO ADD A TABLE HERE WITH ABOVE SIMILAR CODE

                //<td>
                HtmlTableCell tempCell9 = new HtmlTableCell();
                tempCell9.ID = "tempCell9";
                tempCell9.Attributes.Add("CLASS",
"MediumBlueBackgroundColor");
                tempCell9.Width = "4%";

                //<td>
                HtmlTableCell tempCell10 = new HtmlTableCell();
                tempCell10.ID = "tempCell10";
                tempCell10.Attributes.Add("CLASS",
"DarkBlueBackgroundColor");
                tempCell10.Width = "4%";

                //Add the Row and Finish ...
                anewrow1.Cells.Add(tempCell6);
                anewrow1.Cells.Add(tempCell7);
                anewrow1.Cells.Add(tempCell8);
                anewrow1.Cells.Add(tempCell9);
                anewrow1.Cells.Add(tempCell10);
                ModifySurveyPlaceholder.Controls.Add(t1);

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to