[导入]关于petshop中simplepager(继承自Repeater)覆写DataSource的问题
2006-05-25 23:23 BAsil 阅读(212) 评论(0) 编辑 收藏 举报
public class SimplePager : Repeater {private IList dataSource; override public object DataSource { 覆写DataSource set { //This try catch block is to avoid issues with the VS.NET designer //The designer will try and bind a datasource which does not derive from ILIST try { list = (IList)value;
文章来源:http://blog.donews.com/basilwang/archive/2005/12/26/671545.aspx
文章来源:http://blog.donews.com/basilwang/archive/2005/12/26/671545.aspx