.aspx:
.Cs file
var Comments = DataBase.retive(txtTID.Text);
StringBuilder builder = new StringBuilder();
builder.Append("
| Comments | createdate |
| createad by |
foreach (var I in Comments)
{
string comments = I.Comment;
string createdby = I.Createdby;
DateTime createdata = I.Createdate;
String fname = I.datafile;
builder.Append("
| " + comments + " | " + createdata + " |
| " + createdby + " | |
| " + fname+ " |
}
taskdata.InnerHtml = builder.ToString();
i will get OutPut. i am create only table. but My output is d't reach my Expectations. my view is create seperate div with styles. under taskdata.

veerendra kumarPosted Mar 5, 2015, 1:20 AM
NOt working.
I would like to add the
There are a number of tables which are created dynamically in the code-behind. Each table should go to its own
The reason that I can't have the
How is this possible?
Manish Kumar ChoudharyPosted Mar 5, 2015, 1:06 AM
like
builder.Append("
veerendra kumarPosted Mar 5, 2015, 1:02 AM
created div with styles.
Example view.
i am place two styles. but i want similar style divs
Manish Kumar ChoudharyPosted Mar 5, 2015, 12:59 AM
In your .aspx:
< table id="taskdata" runat="server">
table>
In cs use
builder.Append" + comments + " " + createdata + " " + createdby + " " + fname+ " ");
what you want exactly ? remove which div ? 
i already try . but same result appear. 
builder.Append("" + comments + " " + createdata + " " + createdby + " " + fname+ "
");
Manish Kumar ChoudharyPosted Mar 5, 2015, 12:57 AM
veerendra kumarPosted Mar 5, 2015, 12:56 AM
Manish Kumar ChoudharyPosted Mar 5, 2015, 12:48 AM
remove bold div tag from your code then no extra div will add in your div.