aspx页面,模板语言+repeater求救
本帖最后由 u011004053 于 2014-04-21 01:41:35 编辑
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<div class="blogpost row">
<div class="blogdate">
<%foreach(string i in Eval("date_time","{0:yyyy:HH:mm}").ToString().Split(':'))%>
<%{%>
<div class="year"><%=i[0]%></div><div class="month"><%=i[1]%></div><div class="day"><%=i[2]%></div>
<%}%>
</div>
</ItemTemplate>
</asp:Repeater>
求大神教绑定!!谢谢
------解决方案--------------------http://reeezak.cnblogs.com/archive/2006/07/07/445611.html