<asp:DataList ID="DataList1" runat="server">
<ItemTemplate>
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="620">
<tr>
<td colspan="2" height="8">
</td>
</tr>
<tr>
【<%#Exhibition(Eval("ID"))%>】将ID绑定出来写到用一个方法处理
</tr>
<tr>
<td class="grayblack graydashed" width="480">
<%#Eval("City") %> | <%#DateFormat.ShortDate(Eval("BeginTime")) %> 到 <%#DateFormat.ShortDate(Eval("EndTime")) %></td>
<td class="lightgreen graydashed" width="140">
<%#DateDiff(Eval("BeginTime"),Eval("EndTime"))%></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<asp:DataList ID="DataList1" runat="server">
<ItemTemplate>
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="620">
<tr>
<td colspan="2" height="8">
</td>
</tr>
<tr>
【<%#Exhibition(Eval("ID"))%>】将ID绑定出来写到用一个方法处理
</tr>
<tr>
<td class="grayblack graydashed" width="480">
<%#Eval("City") %> | <%#DateFormat.ShortDate(Eval("BeginTime")) %> 到 <%#DateFormat.ShortDate(Eval("EndTime")) %></td>
<td class="lightgreen graydashed" width="140">
<%#DateDiff(Eval("BeginTime"),Eval("EndTime"))%></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
view plaincopy to clipboardprint?