• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# DataGridPageChangedEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: project_list_PageIndexChanged

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


示例17: dgv_BillDetail_PageIndexChanged

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


示例18: dgv_Transaction_NQH_PageIndexChanged

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


示例19: BillDetail_PageIndexChanged

 protected void BillDetail_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dtStatementquerytxn"];
         BillDetail.CurrentPageIndex = e.NewPageIndex;
         BillDetail.DataSource = dt;
         BillDetail.DataBind();
     }
     catch { }
 }
开发者ID:phongferrari,项目名称:source-code-nama,代码行数:11,代码来源:statementquerytxn.aspx.cs


示例20: billedTransaction_PageIndexChanged

 protected void billedTransaction_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
 {
     try
     {
         DataTable dt = (DataTable)ViewState["dtBill"];
         billedTransaction.CurrentPageIndex = e.NewPageIndex;
         billedTransaction.DataSource = dt;
         billedTransaction.DataBind();
     }
     catch
     { }
 }
开发者ID:phongferrari,项目名称:source-code-nama,代码行数:12,代码来源:transactioncredit.aspx.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# DataGridViewDataErrorContexts类代码示例发布时间:2022-05-24
下一篇:
C# DataGridItemEventArgs类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap