当前位置: 首页>>代码示例>>C#>>正文


C# DataGridPageChangedEventArgs类代码示例

本文整理汇总了C#中DataGridPageChangedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# DataGridPageChangedEventArgs类的具体用法?C# DataGridPageChangedEventArgs怎么用?C# DataGridPageChangedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DataGridPageChangedEventArgs类属于命名空间,在下文中一共展示了DataGridPageChangedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: dgProducts_PageChange

    public void dgProducts_PageChange(Object sender, DataGridPageChangedEventArgs e)
    {
        // Set CurrentPageIndex to the page the user clicked.
        dgProducts.CurrentPageIndex = e.NewPageIndex;

        FillProductGrid();
    }
开发者ID:juncao,项目名称:bookStoreWithDBAccess,代码行数:7,代码来源:Maintenance.aspx.cs

示例2: dgv_total_PageIndexChanged

 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();
 }
开发者ID:phongferrari,项目名称:source-code-nama,代码行数:7,代码来源:Report_Loyalty_Lich_Su_Hoan_Tien.aspx.cs

示例3: dgCategories_PageChange

    public void dgCategories_PageChange(Object sender, DataGridPageChangedEventArgs e)
    {
        // Set CurrentPageIndex to the page the user clicked.
        dgCategories.CurrentPageIndex = e.NewPageIndex;

        FillCategoryGrid();
    }
开发者ID:juncao,项目名称:bookStoreWithDBAccess,代码行数:7,代码来源:Maintenance.aspx.cs

示例4: PageResultGrid

 public void PageResultGrid(object sender, DataGridPageChangedEventArgs e)
 {
     DataSet dsGridResults;
     grdRpResults.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = dsGridResults = this.Summary_Queue();
     PopulateDataGrid(dsGridResults);
 }
开发者ID:frdharish,项目名称:WhitfieldAPPs,代码行数:7,代码来源:SearchProjects.aspx.cs

示例5: PageResultGrid1

 public void PageResultGrid1(object sender, DataGridPageChangedEventArgs e)
 {
     DataSet dsGridResults;
     grdsubmitted.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = dsGridResults = this.Summary_Queue("3");
     PopulateDataGrid(dsGridResults,grdsubmitted);
 }
开发者ID:frdharish,项目名称:WhitfieldAPPs,代码行数:7,代码来源:whitfieldmain.aspx.cs

示例6: DataGrid1_PageIndexChanged

 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();
 }
开发者ID:sleepandeat,项目名称:Program,代码行数:8,代码来源:zuoyeshangjiao_list2.aspx.cs

示例7: PageResultGrid1

 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);
 }
开发者ID:frdharish,项目名称:WhitfieldAPPs,代码行数:8,代码来源:Newestimate_material.aspx.cs

示例8: PageResultGridNotes

 public void PageResultGridNotes(object sender, DataGridPageChangedEventArgs e)
 {
     Whitfieldcore wc = new Whitfieldcore();
     DataSet dsGridResults;
     grdSchedule.CurrentPageIndex = e.NewPageIndex;
     dsGridResults = wc.GetCummululativeProjectSchedule();
     this.PopulateDataGrid(dsGridResults, grdSchedule);
 }
开发者ID:frdharish,项目名称:WhitfieldAPPs,代码行数:8,代码来源:twc_project_scheduling.aspx.cs

示例9: gv1_PageIndexChanged

 protected void gv1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     SetData();
     gv1.DataSource = finalCollection;
     gv1.CurrentPageIndex = e.NewPageIndex;
     gv1.DataBind();
     SetIndexingLabel(true, e.NewPageIndex);
 }
开发者ID:helloram52,项目名称:codered,代码行数:8,代码来源:Default.aspx.cs

示例10: DataGrid1_PageIndexChanged

 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();
 }
开发者ID:sleepandeat,项目名称:Program,代码行数:8,代码来源:jiaoshikaike_list3.aspx.cs

示例11: DataGrid1_PageIndexChanged

 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();
 }
开发者ID:sleepandeat,项目名称:Program,代码行数:8,代码来源:allgonggao_list.aspx.cs

示例12: PageResultGridNotes

 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 + ")");
 }
开发者ID:frdharish,项目名称:WhitfieldAPPs,代码行数:8,代码来源:twc_weekly_project_scheduling.aspx.cs

示例13: DataGrid1_PageIndexChanged

 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();
 }
开发者ID:sleepandeat,项目名称:Program,代码行数:8,代码来源:zuoyefabu_list3.aspx.cs

示例14: dgCustomers_PageChange

    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();
    }
开发者ID:juncao,项目名称:bookStoreWithDBAccess,代码行数:9,代码来源:Maintenance.aspx.cs

示例15: AddedCategories_PageIndexChanged

 protected void AddedCategories_PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
 {
     if (sender != null)
     {
         AddedCategoriesTable.CurrentPageIndex = e.NewPageIndex;
         AddedCategoriesTable.DataSource = Session["categories"];
         AddedCategoriesTable.DataBind();
     }
 }
开发者ID:hareluya86,项目名称:ProjectPortal,代码行数:9,代码来源:Test.aspx.cs


注:本文中的DataGridPageChangedEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。