Пример #1
0
        //分页
        protected void gridCheck_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            DataTable dtCheck = Session["CheckRecord"] as DataTable;

            gridCheck.PageIndex = e.NewPageIndex;
            BindGrid(gridCheck, dtCheck);
        }
Пример #2
0
        //账单相信信息分页
        protected void gvDetail_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            gvDetail.PageIndex = e.NewPageIndex;
            int    currentrowindex = (int)ViewState["currentrowindex"];
            string billheadid      = gvList.Rows[currentrowindex].Values[0].ToString();

            BindBillDetail(billheadid);
        }
Пример #3
0
        //分页
        protected void GridOrders_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            GridOrders.PageIndex = e.NewPageIndex;
            Hashtable ht = ViewState["SearchWhere"] as Hashtable;

            ht["pageStart"] = GridOrders.PageSize * (GridOrders.PageIndex);
            ht["pageEnd"]   = GridOrders.PageSize * (GridOrders.PageIndex + 1);
            BindData(ht, false);
        }
Пример #4
0
 //分页
 protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gvList.PageIndex = e.NewPageIndex;
     BindGrid(DictlabId);
     this.tbxFinalprice.Text = string.Empty;
     this.DatePicker1.Text   = string.Empty;
     this.DatePicker2.Text   = string.Empty;
     dictCountedId           = 0;
     dictlabandtestprice.Dictlabandtestpriceid = 0;
 }
Пример #5
0
        //账单头信息分页
        protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            gvList.PageIndex = e.NewPageIndex;
            PageUtil  pageUtil = new PageUtil(gvList.PageIndex, gvList.PageSize);
            Hashtable ht       = (Hashtable)ViewState["sqlWhere"];

            ht["pageStart"] = pageUtil.GetPageStartNum();
            ht["pageEnd"]   = pageUtil.GetPageEndNum();
            BindData();
        }
Пример #6
0
 protected void gr_SingleTitle_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     if (Session["SingleTitle"] != null)
     {
         gr_SingleTitle.PageIndex = e.NewPageIndex;
         DataTable       dt = Session["SingleTitle"] as DataTable;
         PagedDataSource ps = new PagedDataSource();
         ps.DataSource              = dt.DefaultView;
         ps.AllowPaging             = true;                     //是否可以分页
         ps.PageSize                = gr_SingleTitle.PageSize;  //显示的数量
         ps.CurrentPageIndex        = gr_SingleTitle.PageIndex; //取得当前页的页码
         gr_SingleTitle.RecordCount = dt.Rows.Count;
         gr_SingleTitle.DataSource  = ps;
         gr_SingleTitle.DataBind();
     }
 }
Пример #7
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            //highlightRows.Text = "";
            //highlightRows1.Text = "";
            //highlightRows2.Text = "";

            //string[] split = highlightRows_bak.Text.Split(new Char[] { ',' });
            //highlightRows.Text = "";
            //for (int i = 0; i < split.Length-1; i++)
            //{
            //    if (Convert.ToInt32(split[i]) >= 15 * (e.NewPageIndex) && Convert.ToInt32(split[i]) < 15 * (e.NewPageIndex + 1))
            //    {
            //        highlightRows.Text += split[i]+",";
            //    }
            //}
            PageIndex.Text = e.NewPageIndex.ToString();
            Row_Colour_Screen();
            Grid1.PageIndex = e.NewPageIndex;

            //    BindGrid();
        }
Пример #8
0
 //分页
 protected void gdBulkImportDetailItem_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gdBulkImportDetailItem.PageIndex = e.NewPageIndex;
     BindBulkImportDetailItem();
 }
Пример #9
0
 //分页
 protected void gdOrders_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gdOrders.PageIndex = e.NewPageIndex;
     BindgdOrders();
 }
Пример #10
0
 protected virtual void OnPageIndexChange(GridPageEventArgs e)
 {
     EventHandler<GridPageEventArgs> handler = Events[_pageIndexChangeHandlerKey] as EventHandler<GridPageEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     Grid1.PageIndex = e.NewPageIndex;
 }
Пример #12
0
 protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     PageIndex.Text  = e.NewPageIndex.ToString();
     Grid1.PageIndex = e.NewPageIndex;
 }
Пример #13
0
 //分页
 protected void gvOrderUser_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     txtSearch.Text        = "";
     gvOrderUser.PageIndex = e.NewPageIndex;
     Binder();
 }
Пример #14
0
 //分页
 protected void GridInfos_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     GridInfos.PageIndex = e.NewPageIndex;
     BindData();
 }
Пример #15
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            grid1.PageIndex = e.NewPageIndex;

            StorefrontEleganceList_BindGrid();
        }
Пример #16
0
 //分页
 protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gvList.PageIndex = e.NewPageIndex;
     BindGrid();
 }
Пример #17
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            grid1.PageIndex = e.NewPageIndex;

            LinkList_BindGrid();
        }
Пример #18
0
 protected void gr_title_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     this.gr_title.PageIndex = e.NewPageIndex;
     this.InitGrid(Session["CheckTitleToTempData"] as DataTable);
 }