public void PageResultGrid(object sender, DataGridPageChangedEventArgs e)
 {
     DataSet dsGridResults;
     grdRpResults.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = dsGridResults = this.Summary_Queue();
     PopulateDataGrid(dsGridResults);
 }
    public void dgCategories_PageChange(Object sender, DataGridPageChangedEventArgs e)
    {
        // Set CurrentPageIndex to the page the user clicked.
        dgCategories.CurrentPageIndex = e.NewPageIndex;

        FillCategoryGrid();
    }
 protected void dgv_total_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     DataTable dt = (DataTable)ViewState["dt_Data"];
     dgv_total.CurrentPageIndex = e.NewPageIndex;
     dgv_total.DataSource = dt;
     dgv_total.DataBind();
 }
    public void dgProducts_PageChange(Object sender, DataGridPageChangedEventArgs e)
    {
        // Set CurrentPageIndex to the page the user clicked.
        dgProducts.CurrentPageIndex = e.NewPageIndex;

        FillProductGrid();
    }
Пример #5
0
 public void PageResultGrid1(object sender, DataGridPageChangedEventArgs e)
 {
     DataSet dsGridResults;
     grdsubmitted.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = dsGridResults = this.Summary_Queue("3");
     PopulateDataGrid(dsGridResults,grdsubmitted);
 }
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     string sql;
     sql = "select * from zuoyeshangjiao where shangjiaoren ='" + Session["username"].ToString().Trim() + "' order by id desc";
     getdata(sql);
     DataGrid1.CurrentPageIndex = e.NewPageIndex;
     DataGrid1.DataBind();
 }
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     string sql;
     sql = "select * from jiaoshikaike order by id desc";
     getdata(sql);
     DataGrid1.CurrentPageIndex = e.NewPageIndex;
     DataGrid1.DataBind();
 }
Пример #8
0
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     string sql;
     sql = "select * from zuoyefabu where faburen in (select kaikejiaoshi from xuankejilu where xuankeren='" + Session["username"].ToString().Trim() + "') order by id desc";
     getdata(sql);
     DataGrid1.CurrentPageIndex = e.NewPageIndex;
     DataGrid1.DataBind();
 }
Пример #9
0
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     string sql;
     sql = "select * from allgonggao where leibie='" + lbtxt + "' order by id desc";
     getdata(sql);
     DataGrid1.CurrentPageIndex = e.NewPageIndex;
     DataGrid1.DataBind();
 }
 public void PageResultGridNotes(object sender, DataGridPageChangedEventArgs e)
 {
     Whitfieldcore wc = new Whitfieldcore();
     DataSet dsGridResults;
     grdSchedule.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = wc.GetCummululativeProjectSchedule();
     this.PopulateDataGrid(dsGridResults, grdSchedule,ddlYear.SelectedItem.Value, ddlMonth.SelectedItem.Value + "(" + ddlYear.SelectedItem.Value + ")");
 }
 public void PageResultGrid1(object sender, DataGridPageChangedEventArgs e)
 {
     DataSet dsGridResults;
     grdRpResults.CurrentPageIndex = e.NewPageIndex;
     Whitfieldcore wUser = new Whitfieldcore();
     dsGridResults = wUser.GetAllSubMaterials(ddlMatType.SelectedItem.Value, "Grid");
     this.PopulateDataGrid(dsGridResults);
 }
Пример #12
0
 protected void gv1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     SetData();
     gv1.DataSource = finalCollection;
     gv1.CurrentPageIndex = e.NewPageIndex;
     gv1.DataBind();
     SetIndexingLabel(true, e.NewPageIndex);
 }
 public void PageResultGridNotes(object sender, DataGridPageChangedEventArgs e)
 {
     Whitfieldcore wc = new Whitfieldcore();
     DataSet dsGridResults;
     grdSchedule.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = wc.GetCummululativeProjectSchedule();
     this.PopulateDataGrid(dsGridResults, grdSchedule);
 }
    public void dgCustomers_PageChange(Object sender, DataGridPageChangedEventArgs e)
    {
        // Set CurrentPageIndex to the page the user clicked.
        dgCustomers.CurrentPageIndex = e.NewPageIndex;

        // Rebind the data.
        FillCustomerGrid();
        //dgCustomers.DataBind();
    }
 protected void project_list_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
 {
     if (sender != null)
     {
         project_list.CurrentPageIndex = e.NewPageIndex;
         project_list.DataSource = Session["projects"];
         project_list.DataBind();
     }
 }
Пример #16
0
 protected void AddedCategories_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
 {
     if (sender != null)
     {
         AddedCategoriesTable.CurrentPageIndex = e.NewPageIndex;
         AddedCategoriesTable.DataSource = Session["categories"];
         AddedCategoriesTable.DataBind();
     }
 }
 protected void BillDetail_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dtStatementquerytxn"];
         BillDetail.CurrentPageIndex = e.NewPageIndex;
         BillDetail.DataSource = dt;
         BillDetail.DataBind();
     }
     catch { }
 }
 protected void dgv_BillDetail_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dt_Statement_Query_QH_Details"];
         dgv_BillDetail.CurrentPageIndex = e.NewPageIndex;
         dgv_BillDetail.DataSource = dt;
         dgv_BillDetail.DataBind();
     }
     catch { }
 }
 protected void dgv_Transaction_NQH_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dt_dgv_Transaction_NQH"];
         dgv_Transaction_NQH.CurrentPageIndex = e.NewPageIndex;
         dgv_Transaction_NQH.DataSource = dt;
         dgv_Transaction_NQH.DataBind();
     }
     catch { }
 }
 protected void billedTransaction_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dtBill"];
         billedTransaction.CurrentPageIndex = e.NewPageIndex;
         billedTransaction.DataSource = dt;
         billedTransaction.DataBind();
     }
     catch
     { }
 }
Пример #21
0
    protected void course_list_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
    {
        if (sender != null)
        {
            CourseModule courseModule = new CourseModule();
            IList<Course> courses = courseModule.getCourses(0, 9999);

            course_list.CurrentPageIndex = e.NewPageIndex;
            course_list.DataSource = courses;
            course_list.DataBind();
        }
    }
 protected void dgvAccount_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {//DataGrid1.DataSource = e.NewPageIndex;
         //this.DataBind();
         DataTable dt = (DataTable)ViewState["dt_SMS_Update"];
         dgvAccount.CurrentPageIndex = e.NewPageIndex;
         dgvAccount.DataSource = dt;
         dgvAccount.DataBind();
     }
     catch
     { }
 }
 protected void dataBillHeader_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {//DataGrid1.DataSource = e.NewPageIndex;
         //this.DataBind();
         DataTable dt = (DataTable)ViewState["dataBillHeader"];
         dataBillHeader.CurrentPageIndex = e.NewPageIndex;
         dataBillHeader.DataSource = dt;
         dataBillHeader.DataBind();
     }
     catch
     { }
 }
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {//DataGrid1.DataSource = e.NewPageIndex;
         //this.DataBind();
         DataTable dt = (DataTable)ViewState["dtCredit_Unpaid_Details"];
         DataGrid1.CurrentPageIndex = e.NewPageIndex;
         DataGrid1.DataSource = dt;
         DataGrid1.DataBind();
     }
     catch
     { }
 }
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {//DataGrid1.DataSource = e.NewPageIndex;
         //this.DataBind();
         DataTable dt = (DataTable)ViewState["Detail_POS"];
         if (dt.Rows.Count > 0)
         {
             DataGrid1.CurrentPageIndex = e.NewPageIndex;
             DataGrid1.DataSource = dt;
             DataGrid1.DataBind();
         }
     }
     catch
     { }
 }
Пример #26
0
    protected void _grdHistorical_Paging(object sender,DataGridPageChangedEventArgs e)
    {
        try
        {
            Session["historicalPageID"] = e.NewPageIndex;

            _serialIndex = _total -  e.NewPageIndex * HistoryPageSize;

            _grdRecords.CurrentPageIndex = e.NewPageIndex;
            _grdRecords.DataSource = Session["historicalInfo"];
            _grdRecords.DataBind();
        }
        catch (Exception ex)
        {

        }
    }
 protected void dg_cardlist_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         if ((DataTable)ViewState["grvRelation"] != null)
         {
             if (((DataTable)ViewState["grvRelation"]).Rows.Count > 0)
             {
                 grvRelation.CurrentPageIndex = e.NewPageIndex;
                 BindGrid();
             }
         }
     }
     catch (Exception ex)
     {
         Alert.Show("Error from coding .....\\n", this);
         executedb.WriteLogERROR(Session["Username"].ToString(), "IP: " + Request.UserHostAddress, this.Page.ToString(), System.Reflection.MethodBase.GetCurrentMethod().ToString(), ex.Message);
         //executedb.WriteLogPri(Environment.NewLine + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString() + " - " + Session["Username"].ToString() + ": " + Environment.NewLine + ex.Message);
     }
 }
 protected void dgvAccount_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         if ((DataTable)ViewState["dgvAccount"] != null)
         {
             if (((DataTable)ViewState["dgvAccount"]).Rows.Count > 0)
             {
                 dgvAccount.CurrentPageIndex = e.NewPageIndex;
                 BindGrid();
             }
         }
     }
     catch (Exception ex)
     {
         #region logException
         executedb.WriteLogERROR(Session["Username"].ToString(), "IP: " + Request.UserHostAddress, this.Page.ToString(), System.Reflection.MethodBase.GetCurrentMethod().ToString(), ex.Message);
         //executedb.WriteLogPri(Environment.NewLine + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString() + " - " + Session["Username"].ToString() + ": " + ex.Message);
         //Response.Write("<script>alert('Error when executing coding')</script>");
         Alert.Show("Error when executing coding!!!", this);
         #endregion logException
     }
 }
Пример #29
0
        protected override void OnPageIndexChanged(DataGridPageChangedEventArgs e)
        {
            CurrentPageIndex = e.NewPageIndex;

            base.OnPageIndexChanged(e);
        }
Пример #30
0
 protected void Grid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     Grid.CurrentPageIndex = e.NewPageIndex;
     this.SearchSupplier();
 }
Пример #31
0
 protected void DataGridbound_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     DataGridbound.CurrentPageIndex = e.NewPageIndex;
     DataShow();
 }
 protected void dgSalesAnalysisHdr_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     //Set the page # and rebind data grid
     dgSalesAnalysisHdr.CurrentPageIndex = e.NewPageIndex;
     BindDataGrid();
 }
Пример #33
0
        protected void dgJobDiscrepancies_Page(Object sender, DataGridPageChangedEventArgs e)
        {
            dgJobDiscrepancies.CurrentPageIndex = e.NewPageIndex;

            dgJobDiscrepancies.DataBind();
        }
Пример #34
0
 protected void DataGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     DataGrid1.LoadCurrentPageIndex(e.NewPageIndex);
 }
 private void ReportGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     this.ReportGrid.CurrentPageIndex = e.NewPageIndex;
     this.LoadReport();
 }
Пример #36
0
 protected void dtgTopesTarifario_PageChanged(Object sender, DataGridPageChangedEventArgs e)
 {
     dtgTopesDisponibles.EditItemIndex = -1;
     this.BindGridTopesTarif(e.NewPageIndex);
     this.SetearPorTarifarioReferencia();
 }
Пример #37
0
 private void EmployeeGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     this.EmployeeGrid.CurrentPageIndex = e.NewPageIndex;
     this.LoadEmployeeList();
 }
Пример #38
0
 /// <summary>
 /// Handles the Paging event of the dgErrorLogListing control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Web.UI.WebControls.DataGridPageChangedEventArgs"/> instance containing the event data.</param>
 public void dgErrorLogListing_Paging(object sender, DataGridPageChangedEventArgs e)
 {
     dgErrorLogListing.CurrentPageIndex = e.NewPageIndex;
     LoadErrorLogs();
 }
Пример #39
0
 protected void dgrid_Books_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgrid_Books.CurrentPageIndex = e.NewPageIndex;
     BindGridviewSearchResult();
 }
Пример #40
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void grdLogApplicativi_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
        {
            this.grdLogApplicativi.CurrentPageIndex = e.NewPageIndex;

            this.Fetch();
        }
Пример #41
0
 protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     this.DataGrid1.CurrentPageIndex = e.NewPageIndex;
     this.GridBind(this.ViewState["SQLWHERE"].ToString());
 }
Пример #42
0
 public void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     this.DataGrid1.CurrentPageIndex = e.NewPageIndex;
     this.DataGridDataBind(this.DropDownListAccountStatus.SelectedValue, this.TextBoxSortField.Text, int.Parse(this.DropDownListPage.SelectedValue));
 }
 protected void dgBin_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     PageIndex = e.NewPageIndex.ToString();
     LoadBinDG();
 }
 protected void DataGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     DataGrid1.CurrentPageIndex = e.NewPageIndex;
     BindData();
 }
Пример #45
0
 protected void dgnews_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgnews.CurrentPageIndex = e.NewPageIndex;
     bindgrid();
 }
Пример #46
0
 protected void dgSubscription_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgSubscription.CurrentPageIndex = e.NewPageIndex;
     SubscriptionDoctor();
 }
Пример #47
0
 protected void grdPages_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     grdPages.CurrentPageIndex = e.NewPageIndex;
     BindGrid();
 }
Пример #48
0
 protected void dtgRendiciones_PageIndexChanged1(object source, DataGridPageChangedEventArgs e)
 {
     this.dtgRendiciones.CurrentPageIndex = e.NewPageIndex;
     BindGrilla();
 }
Пример #49
0
 protected void dgCompanies_PageIndexChanging(object sender, DataGridPageChangedEventArgs e)
 {
     dgCompanies.CurrentPageIndex         = e.NewPageIndex;
     hfCurrentPageIndex_dgCompanies.Value = dgCompanies.CurrentPageIndex.ToString();
     LoadItems();
 }
Пример #50
0
 public void DataGrid_PageChanged(object sender, DataGridPageChangedEventArgs e)
 {
     dbStaffList.CurrentPageIndex = e.NewPageIndex;
     BindGrid();
 }
Пример #51
0
 protected void dgrCommon_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgrCommon.CurrentPageIndex = e.NewPageIndex;
     BindDataGrid();
 }
Пример #52
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// dgResults_PageIndexChanged runs when one of the Page buttons is clicked
 /// </summary>
 /// <history>
 ///     [cnurse]    12/13/2004  created
 /// </history>
 /// -----------------------------------------------------------------------------
 private void dgResults_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgResults.CurrentPageIndex = e.NewPageIndex;
     BindData();
 }
Пример #53
0
 protected void dgRooms_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgRooms.CurrentPageIndex = e.NewPageIndex;
     refreshgrid(0, "");
 }
Пример #54
0
 public void DataGrid_PageChanged(object sender, DataGridPageChangedEventArgs e)
 {
     dgFlowList.CurrentPageIndex = e.NewPageIndex;
     Bangding();
 }
Пример #55
0
 protected void dgList_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     this.dgList.CurrentPageIndex = e.NewPageIndex;
     this.initForm();
 }
Пример #56
0
 protected void Grid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     Grid.CurrentPageIndex = e.NewPageIndex;
     LoadPayComponentsList();
 }
Пример #57
0
 protected void dgReceipts_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgReceipts.CurrentPageIndex = e.NewPageIndex;
     fillgrid();
 }
 protected void dgSpecialty_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     dgSpecialty.CurrentPageIndex = e.NewPageIndex;
     this.BindSpecialty(0);
     lblMessage.Visible = false;
 }
Пример #59
0
 protected void membersGrid_Page(Object sender, DataGridPageChangedEventArgs e)
 {
     this.membersGrid.DataSource = (DataSet)Session["ds"];
     membersGrid.CurrentPageIndex = e.NewPageIndex;
     this.membersGrid.DataBind();
 }
Пример #60
0
 private void formsGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     formsGrid.CurrentPageIndex = e.NewPageIndex;
     fillForms();
 }