文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>用户控件的动态加载

用户控件的动态加载

时间:2010-08-18  来源:空紫竹

//Load
UserControl c1 = (UserControl)LoadControl("ucCheckBoxGroup.ascx");
c1.ID = "_UserGroups";
//Set Property
Type c1Type = c1.GetType();
System.Reflection.PropertyInfo c1PInfor = c1Type.GetProperty("ConnectionString");
c1PInfor.SetValue(c1,strConn, null);
//display
//Page.Controls.Add(c1)
C.Controls.Add(c1);


相关阅读 更多 +
排行榜 更多 +
PvZ戴夫的时空冒险重置

PvZ戴夫的时空冒险重置

策略塔防 下载
PVZTV雪版阳光加50

PVZTV雪版阳光加50

策略塔防 下载
双刃战士雪姐

双刃战士雪姐

冒险解谜 下载