上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 48 下一页
摘要: 曾碰到一情况,一个页面上要显示四种类型的数据,当时时间紧就采用了比较笨的方法,采用了四个Repeater来实现,切换起来总是感觉不爽.偶抽空就查了下资料,改编了MSDN的一些例子.实现了动态生成Repeater模板的功能. 一.自定义模板代码View Code 1 public class RepeaterTemplate:ITemplate 2 { 3 private ListItemType templateType; 4 private IList<String> headerNames; 5 private IList<Str... 阅读全文
posted @ 2011-10-13 20:33 --中庸-- 阅读(911) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 48 下一页