protected void Page_Load(object sender, EventArgs e) { CheckLogin.checkAll(); MyPage1.InitPagerControls(this.DGList); MyPage1.MyEvent += new EventHandler(this.showgrid); if (!IsPostBack) { showgrid(null, null); } }
protected void Page_Load(object sender, EventArgs e) { if (CheckLogin.Userinfo != null && CheckLogin.Userinfo.Length > 0) { System.Web.HttpContext.Current.Session["user"] = CheckLogin.Userinfo; CheckLogin.Userinfo = ""; } CheckLogin.checkAll(); MyPage1.InitPagerControls(this.DGList); MyPage1.MyEvent += new EventHandler(this.showgrid); if (!IsPostBack) { showgrid(null, null); SHowCount(); } }
protected void Page_Load(object sender, EventArgs e) { CheckLogin.checkAll(); if (!IsPostBack) { this.lb_title.Text = "首页图片播放管理"; } // this.but_save.Attributes.Add("onclick", "return conf();"); MyPage1.InitPagerControls(this.DGList); MyPage1.MyEvent += new EventHandler(this.showgrid); if (!IsPostBack) { showgrid(null, null); ShowCount(); } }