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


C# WebControls.GridViewPageEventArgs类代码示例

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


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

示例1: UnknownPromoterVatStatusGridView_PageIndexChanging

		protected void UnknownPromoterVatStatusGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
		{
			UnknownPromoterVatStatusGridView.PageIndex = e.NewPageIndex;
			LoadPromotersWithTicketRunsAndUnknownVatStatus();
			if (UnknownPromoterVatStatusGridView.PageIndex > UnknownPromoterVatStatusGridView.PageCount)
				UnknownPromoterVatStatusGridView.PageIndex = 1;
		}
开发者ID:davelondon,项目名称:dontstayin,代码行数:7,代码来源:PromoterWithTicketRunsVatStatus.ascx.cs

示例2: PriceGridView_PageIndexChanging

 protected void PriceGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     PriceGridView.PageIndex = e.NewPageIndex;
     string supplierId = Convert.ToString(Session["supplierId"]);
     PriceGridView.DataSource = controller.acceptSupplierPriceList(supplierId);
     PriceGridView.DataBind();
 }
开发者ID:tianhang,项目名称:SA39_AD,代码行数:7,代码来源:ManageSupplier.aspx.cs

示例3: GridView2_PageIndexChanging

        protected void GridView2_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            GridView2.PageIndex = e.NewPageIndex;

            GridView2.DataSource = ds1.Tables["MostLikeSongs"];
            GridView2.DataBind();
        }
开发者ID:PhuNH,项目名称:qtmusic2011,代码行数:7,代码来源:RightPageOfHome.ascx.cs

示例4: gvLogSignIn_PageIndexChanging

        protected void gvLogSignIn_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            gvLogSignIn.PageIndex = e.NewPageIndex;
            LogSignInID = 0;

            BindData();
        }
开发者ID:CyranoChen,项目名称:Arsenalcn,代码行数:7,代码来源:AdminLogSignIn.aspx.cs

示例5: gvRss_PageIndexChanging

 protected void gvRss_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     List<Feeds> games = (List<Feeds>)Session["Games"];
     gvRss.PageIndex = e.NewPageIndex;
     gvRss.DataSource = games;
     gvRss.DataBind();
 }
开发者ID:Goranmk20,项目名称:fudbalskirezervacii,代码行数:7,代码来源:Game.aspx.cs

示例6: gvLab_PageIndexChanging

 protected void gvLab_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     gvLab.PageIndex = e.NewPageIndex;
     string sql = GetSql();
     gvLab.DataSource = CY.CSTS.Core.Business.VirtualLaboratory.SelectVirtualLaboratoriesDynamic(sql, "");
     gvLab.DataBind();
 }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:VirtualLabList.aspx.cs

示例7: gdvCurrent_PageIndexChanging

 /// <summary> 
 /// 函數名:gdvCurrent_PageIndexChanging
 /// 函數功能:翻頁
 /// </summary>
 protected void gdvCurrent_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     gdvCurrent.PageIndex = e.NewPageIndex;
     gdvCurrent.DataSource = (DataTable)ViewState["dt"];
     gdvCurrent.DataBind();
     txtPageIndex.Text = e.NewPageIndex.ToString();
 }
开发者ID:JohnToCoder,项目名称:CMG,代码行数:11,代码来源:ChePiaoAdmin.aspx.cs

示例8: GridViewSpamComment_PageIndexChanging

 protected void GridViewSpamComment_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewSpamComment.PageIndex = e.NewPageIndex;
     var comments = Comment.GetAllSpamComments();
     GridViewSpamComment.DataSource = comments;
     GridViewSpamComment.DataBind();
 }
开发者ID:KevinJump,项目名称:OurUmbraco,代码行数:7,代码来源:ForumSpamListComments.ascx.cs

示例9: showCuntryInformationGridView_PageIndexChanging

 protected void showCuntryInformationGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     showCuntryInformationGridView.PageIndex = e.NewPageIndex;
     string name = searchTextBox.Text;
     showCuntryInformationGridView.DataSource = cityManager.GetCountryInformationByName(name);
     showCuntryInformationGridView.DataBind();  
 }
开发者ID:salamcseiu21,项目名称:Country_City_Information_Management,代码行数:7,代码来源:ViewCountry.aspx.cs

示例10: GridViewGopY_PageIndexChanging

 ////Chon trang NEXT
 protected void GridViewGopY_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewGopY.PageIndex = e.NewPageIndex;
     //             int SoDong = LoadBaiViet();
     //             FilterSTT(SoDong, e.NewPageIndex, int.Parse(DropDownListPaging.SelectedValue));
     LoadGopY();
 }
开发者ID:nlavu,项目名称:web-doanhoi-mhx-2k11,代码行数:8,代码来源:wucGopY.ascx.cs

示例11: OnPaging

 protected void OnPaging(object sender, GridViewPageEventArgs e)
 {
     gridInbox.PageIndex = e.NewPageIndex;
     //gridInbox.DataBind();
     string EmplID = (string)(Session["UserID"]);
     PopulateInbox(EmplID);
 }
开发者ID:rheaprokop,项目名称:EHR-Recruitment,代码行数:7,代码来源:Inbox.aspx.cs

示例12: grdPacientes_PageIndexChanging

 protected void grdPacientes_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     // Asigna el nuevo indice de página a visualizar
     CargarPacientes();
     grdPacientes.PageIndex = e.NewPageIndex;
     grdPacientes.DataBind();
 }
开发者ID:PablusVinii,项目名称:Consultorio,代码行数:7,代码来源:Principal.aspx.cs

示例13: ProjectList_PageIndexChanging

 protected void ProjectList_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     string user = Request.Cookies["Users"]["UserID"];
     ProjectList.DataSource = ProjectDataAccessLayer.GetMyProjects(user);
     ProjectList.PageIndex = e.NewPageIndex;
     ProjectList.DataBind();
 }
开发者ID:Rocinante89,项目名称:GuildAndBuild,代码行数:7,代码来源:MyProjects.aspx.cs

示例14: gridView_PageIndexChanging

 protected void gridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridView view = sender as GridView;
     int newPageIndex = 0;
     if (-2 == e.NewPageIndex)
     {
         TextBox box = null;
         GridViewRow bottomPagerRow = view.BottomPagerRow;
         if (bottomPagerRow != null)
         {
             box = bottomPagerRow.FindControl("txtNewPageIndex") as TextBox;
         }
         if (box != null)
         {
             newPageIndex = int.Parse(box.Text) - 1;
         }
     }
     else
     {
         newPageIndex = e.NewPageIndex;
     }
     newPageIndex = (newPageIndex < 0) ? 0 : newPageIndex;
     newPageIndex = (newPageIndex >= view.PageCount) ? (view.PageCount - 1) : newPageIndex;
     view.PageIndex = newPageIndex;
     this.BindData();
 }
开发者ID:huaminglee,项目名称:myyyyshop,代码行数:26,代码来源:SelectAccessorie.cs

示例15: GridViewServico_PageIndexChanging

 protected void GridViewServico_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     DataTable table = (DataTable)Session["Servicos"];
     GridViewServico.DataSource = table;
     GridViewServico.PageIndex = e.NewPageIndex;
     GridViewServico.DataBind();
 }
开发者ID:vivermais,项目名称:vivermais,代码行数:7,代码来源:FormCadastrarServico.aspx.cs


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