hi friend
i have dynamic string "a,b,c,d,e,f,j......" and so on
now i want display first three word in one row then next three word in next row dynamically.
for eg ="a,b,c,d,e,f,g,h,i....."
output:
a b c
d e f
g h
like this in table.
plz can anyone help out i stuck hr.
How to create and display dynamic table with string?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

AnkurRank #1,353 · 1.2K reputationPosted Aug 30, 2010, 2:56 AM EDT
i think following might help..
cs:
protected void Page_Load(object sender, EventArgs e)
{
string str = "a,b,c,d,e,f,g,h";
string[] str1 = str.Split(',');
DList.DataSource = str1;
DList.DataBind();
}
aspx:
<%#Container.DataItem %>
thanks and regards
ankur malik