Repeater实现没有数据的时候显示提示语句~ <FooterTemplate> <asp:Label ID="lbEmpty" Text="暂时没有数据!!" ForeColor="Red" runat="server" Visible='<%#bool.Parse((Repeater1.Items.Count==0).ToString())%>'></asp:Label> </FooterTemplate>