用Repeater时如果无数据,如何显示提示信息 用Repeater+SqlDataSource显示数据,当找不到记录时,如何显示提示信息,实现类似GridView的EmptyDataTemplate的功能 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 加个Lable visible=false,判断查询的数据=""或null然后让他这个lable显示, 在 <FooterTemplate></FooterTemplate> 里加判断写出提示了 在 <FooterTemplate> </FooterTemplate>里判断数据为空的代码怎么写 <asp:Repeater ID="RptrA" runat="server"> <ItemTemplate> <!-- Add your Item Template Here --> </ItemTemplate> <FooterTemplate> <asp:Label ID="lblEmpty" Text="no result" runat="server" Visible='<%#bool.Parse((RptrA.Items.Count==0).ToString())%>'> </asp:Label> </FooterTemplate> </asp:Repeater> vs里使用自带数据库的问题 类似这个网站的在线客服系统是什么的了?谁可以告诉我? ajaxpro.2.dll读取数据库的问题 asp.net 建立站点出错!帮帮忙,您会万福的噢! 关于干股注意事项? 请教asp.net高手问题 高分求.救如何用web页中读RTF数据的方法 xp sp2 为什么装 vs2003 装不进去?有谁碰到过? 大家可能都遇到的调试问题! vs.net创建不了ASP.NET项目?给点主意 好友黑名单管理,需求如下: upfile如何去掉文件路径??只剩浏览按钮,或者仅点击一个按钮,就弹出upfile对话框?
然后让他这个lable显示,
<asp:Repeater ID="RptrA" runat="server">
<ItemTemplate>
<!-- Add your Item Template Here -->
</ItemTemplate>
<FooterTemplate>
<asp:Label ID="lblEmpty"
Text="no result" runat="server"
Visible='<%#bool.Parse((RptrA.Items.Count==0).ToString())%>'>
</asp:Label>
</FooterTemplate>
</asp:Repeater>