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.
Loading
AnkurPosted Aug 30, 2010, 6:56 AM
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