[导入]关于petshop中simplepager(继承自Repeater)覆写DataSource的问题
2005-12-26 23:32 BAsil 阅读(183) 评论(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/aggbug/671545.aspx)
文章来源:http://blog.donews.com/basilwang/archive/2005/12/26/671545.aspx
文章来源:http://blog.donews.com/basilwang/archive/2005/12/26/671545.aspx