博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年5月4日

摘要: 在aspx母页面中有添加公共方法:publicvoidShowChart(intChartType){..}在用户控件ascx文件中使用映射调用母页面的方法;System.Web.UI.Pagep=this.Page;TypepageType=p.GetType();MethodInfomi=pageType.GetMethod("ShowChart");mi.Invoke(p,newobject[]{this.ddlChartType.SelectedIndex}); 阅读全文

posted @ 2008-05-04 16:14 风之韵 阅读(487) 评论(0) 推荐(0)