datalist 等分列怎么做啊?谢谢大家了!!!!!!!!!
代码如下:
<asp:DataList ID= "SubForumRepeater " runat= "server " EnableViewState= "false " RepeatColumns= "4 " RepeatDirection= "Horizontal " RepeatLayout= "table " Width= "100% " >
<HeaderTemplate>
<tr id= "HotbbsContent ">
</HeaderTemplate>
<ItemTemplate>
<td class= "RowOne ">
<div class= "CommonListContent ">
<span> <div class= "CommonName "> <a class= " <%# ForumFormatter.HasRead((Forum) Container.DataItem) ? "ForumGroupNameRead " : "ForumGroupNameUnRead " %> " href= " <%# ForumUrls.Instance().Forum( ((Forum) Container.DataItem).SectionID ) %> "> <%# DataBinder.Eval(Container.DataItem, "Name ")%> </a> <%# ForumFormatter.FormatUsersViewingForum((Forum)Container.DataItem)%>
( <%# Formatter.FormatNumber(((Forum)Container.DataItem).DaysToCount)%> ) </div>
</span>
<span> <%# DataBinder.Eval(Container.DataItem, "Description ")%> </span>
<span> <%# ForumFormatter.FormatSubForum((Forum)Container.DataItem)%> </span>
</div>
</td>
</ItemTemplate>
<AlternatingItemTemplate>
<td class= "RowTwo ">
<div class= "CommonListContent ">
&nb