Esempio n. 1
0
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            if (Session["name"] != null)
            {
                string        name = Session["name"].ToString();
                SqlDataReader dr   = CategoryBLL.SelectBook(5, e.NewPageIndex, name);
                this.repBookList.DataSource = dr;
                this.repBookList.DataBind();
                dr.Close();
            }

            else
            {
                int BLID = Convert.ToInt32(Request.QueryString["BLID"]);
                int BSID = Convert.ToInt32(Request.QueryString["BSID"]);
                if (BLID > 0)
                {
                    SqlDataReader dr = BLCategoryBLL.SelecBLIDtBook(5, e.NewPageIndex, BLID);
                    this.repBookList.DataSource = dr;
                    this.repBookList.DataBind();
                }
                else
                {
                    SqlDataReader dr = BSCategoryBLL.SelectBook(5, e.NewPageIndex, BSID);
                    this.repBookList.DataSource = dr;
                    this.repBookList.DataBind();
                }
            }
        }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     //设置当前的页码
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     //重新分页
     GetPage();
 }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.anpList.CurrentPageIndex = e.NewPageIndex;
     //role = Session["Role"].ToString() == null ? "" : Session["Role"].ToString();
     role = ddlUserType.SelectedValue;
     getRolesList(role);
 }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     //设置当前页
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     //重新绑定数据
     BindData();
 }
Esempio n. 5
0
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            int recordCount = 0;

            this.gvBooks.DataSource = BookManager.GetBookListByCatId("", e.NewPageIndex, 20, out recordCount);
            this.gvBooks.DataBind();
            this.AspNetPager1.PageSize = 20;
        }
Esempio n. 6
0
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            _curpage = e.NewPageIndex;

            //if (_curpage != 0) _curpage--;

            BindData(this.AspNetPager1.PageSize, _curpage);
        }
        protected void AspNetPager4_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            MallInfoBLL _MallInfoBLL = new MallInfoBLL();

            CityID    = int.Parse(this.DropDownCity.SelectedValue.ToString());
            PageStart = e.NewPageIndex;
            DT        = _MallInfoBLL.GetCityMallSplit(CityID, this.AspNetPager4.PageSize, PageStart);
        }
Esempio n. 8
0
        protected void AspNetPagerLightBox_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            this._curpageMyLightBox = e.NewPageIndex;
            //if (_curpageMyLightBox != 0) _curpageMyLightBox--;

            this.AspNetPagerLightBox.CurrentPageIndex = e.NewPageIndex;

            bindMyLightBox(this.AspNetPagerLightBox.PageSize, this.AspNetPagerLightBox.CurrentPageIndex);
        }
        protected void AspNetPager4_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            int CityID;

            BLL.EntertainmentBLL.EntertainmentBLL _EntertainmentBLL = new BLL.EntertainmentBLL.EntertainmentBLL();
            CityID    = int.Parse(this.DropDownCity.SelectedValue.ToString());
            PageStart = e.NewPageIndex;
            DT        = _EntertainmentBLL.CityEnterTainMentSplit(CityID, this.AspNetPager4.PageSize, PageStart);
        }
Esempio n. 10
0
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            string name = Request.QueryString["BooName"];
            string BLID = Request.QueryString["BLID"];
            string BSID = Request.QueryString["BSID"];

            this.AspNetPager1.RecordCount = BookDAL.dataRows(BLID, BSID, name);
            this.Repeater1.DataSource     = BookDAL.selectBookByType(BLID, BSID, 4, e.NewPageIndex, name);
            this.Repeater1.DataBind();
        }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     if (ViewState["id"] != null)
     {
         decimal id       = Convert.ToDecimal(ViewState["id"]);
         string  sqlwhere = "1=1 AND DEPTID=" + id + " AND STATE=0 order by PATROLID desc ";
         bindDeptLog(sqlwhere);
     }
 }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     if (flag == 0)
     {
         BindData();
     }
     else
     {
         BindDataByDate(Tbox_Start.Text, Tbox_End.Text, ddl_PrintCondition.SelectedValue.ToString());
     }
 }
Esempio n. 13
0
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     if (flag == 0)
     {
         BindData();
     }
     else
     {
         BindDataByDate(Tbox_Start.Text, Tbox_End.Text);
     }
 }
        protected void AspNetPager4_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            int    PageIndex = e.NewPageIndex;
            String TypeName  = this.DropDownType.SelectedItem.Text;

            if (TypeName != "全部日志")
            {
                LogDT = this._ClickLogBLL.GetClickLogSplit(this.AspNetPager4.PageSize, PageIndex, TypeName);
            }
            else
            {
                LogDT = _ClickLogBLL.GetLogSplit(this.AspNetPager4.PageSize, 1);
            }
        }
Esempio n. 15
0
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            //this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
            string catId = "";

            if (Request.QueryString["CatId"] != null)
            {
                catId = Request.QueryString["CatId"].ToString();
            }
            int             recordCount = 0;
            List <BookInfo> list        = BookManager.GetBookListByCatId(catId, e.NewPageIndex, 10, out recordCount);

            this.dlBook.DataSource = list;
            this.dlBook.DataBind();
        }
Esempio n. 16
0
        protected void AspNetPagerUpload_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            this._curpageMyUpload = e.NewPageIndex;
            if (_curpageMyUpload != 0)
            {
                _curpageMyUpload--;
            }

            this.AspNetPagerUpload.CurrentPageIndex = e.NewPageIndex;

            int validateStatus = Convert.ToInt32(this.ddlResoureStatus.SelectedValue);


            bindMyUpload(this.AspNetPagerUpload.PageSize, this._curpageMyUpload, validateStatus);

            this.profileContainer.ActiveTab = this.tabMyUpload;
        }
Esempio n. 17
0
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     if (flag == 0)
     {
         BindData();
     }
     else if (flag == 1)
     {
         BindDataBySort(ddl_Sort.SelectedValue);
     }
     else if (flag == 2)
     {
         BindDataByDate(Tbox_Start.Text, Tbox_End.Text);
     }
     else if (flag == 3)
     {
         BindDataByName(Tbox_Name.Text.Trim());
     }
 }
Esempio n. 18
0
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     RptBind("");
 }
Esempio n. 19
0
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     Bind(this.txtSearch.Text);
 }
Esempio n. 20
0
 /// <summary>
 /// 分页事件
 /// </summary>
 /// <param name="src"></param>
 /// <param name="e"></param>
 protected void anpPage_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     anpPage.CurrentPageIndex = e.NewPageIndex;
     BindFeedBackData();
 }
Esempio n. 21
0
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     DataBind(AspNetPager1.CurrentPageIndex - 1, AspNetPager1.PageSize);
 }
Esempio n. 22
0
 protected void aspPage_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     Bind(e.NewPageIndex);
 }
Esempio n. 23
0
 protected void Pager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.LoadData();
 }
Esempio n. 24
0
 /// <summary>
 /// 分页控件的翻页事件
 /// </summary>
 /// <param name="src"></param>
 /// <param name="e"></param>
 protected void AspNetPager_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager.CurrentPageIndex = e.NewPageIndex;
     page1.Visible = true;
     OnDataLoad();
 }
Esempio n. 25
0
 /// <summary>
 /// 分页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void AspNetPager1_PageChanged(object sender, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     this.InitData(AspNetPager1.CurrentPageIndex, false);
 }
Esempio n. 26
0
 protected void anpPage_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     anpPage.CurrentPageIndex = e.NewPageIndex;
     DataBindInsure();
 }
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     BindData();
 }
Esempio n. 28
0
 protected void fenye_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
 }
Esempio n. 29
0
 protected void AnpGvUsersPaging_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     anpTopGVUsersPaging.CurrentPageIndex = anpBottomGVUsersPaging.CurrentPageIndex = e.NewPageIndex;
     LoadData();
 }
Esempio n. 30
0
 /// <summary>
 /// 分页事件
 /// </summary>
 /// <param name="src"></param>
 /// <param name="e"></param>
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     dataBindToRepeater("1=1");
 }