Repeater 添加暂无数据

 <FooterTemplate>
                <tr>
                <td colspan="10">
                 <asp:Label ID="lblEmpty" Text="暂无数据..." runat="server"  Visible='<%#bool.Parse((rptDingList.Items.Count==0).ToString())%>'></asp:Label> 
                </td>
                </tr>
                    
                       </table>
                </FooterTemplate>

 

posted @ 2014-03-12 15:15  Sacred随心  阅读(163)  评论(0编辑  收藏  举报