Repeater提示无数据

 

<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
<table width=100%>
<tr>
</HeaderTemplate>

<ItemTemplate>
<tr>
<td colspan="3" style="border:0px; text-align:center;">
<a href='../../download.ashx?url=<%# Server.UrlEncode(eval_r("FilePath").ToString())%>'> <%#eval_r("FileName")%></a>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>

<asp:Label ID="lblEmpty" Text="暂无数据" runat="server" 

Visible='<%#bool.Parse((Repeater1.Items.Count==0).ToString())%>'></asp:Label>

</tr></table>
</FooterTemplate>
</asp:Repeater> 

上一篇:【Spark Summit EU 2016】SparkOscope:优化Spark的跨栈监控与可视化框架


下一篇:4月末阿里云ACE同城会活动信息一览