共享网

分类列表

  • Repeater在无数据记录时显示类似GridView空模板
  • 方法就是在FooterTemplate加个Label并根据repeater.Items.Count判断是否有记录。关键代码如下: FooterTemplate asp:Label ID =lblEmpty Text =无记录.. runat =server Visible ='%#bool.Parse((rptRecord.Items.Count==0).ToString())% ' / asp:Label / Foo 方法就是在F
  • 作者: 发表于: 2010-2-28 21:34:00 点击率: 522 阅读全文...
1条 当前1/1首页 上一页 下一页 末页

2010 编程之路 www.chr114.com All Rights Reserved