本文整理汇总了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;
}
示例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();
}
示例3: GridView2_PageIndexChanging
protected void GridView2_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView2.PageIndex = e.NewPageIndex;
GridView2.DataSource = ds1.Tables["MostLikeSongs"];
GridView2.DataBind();
}
示例4: gvLogSignIn_PageIndexChanging
protected void gvLogSignIn_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
gvLogSignIn.PageIndex = e.NewPageIndex;
LogSignInID = 0;
BindData();
}
示例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();
}
示例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();
}
示例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();
}
示例8: GridViewSpamComment_PageIndexChanging
protected void GridViewSpamComment_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridViewSpamComment.PageIndex = e.NewPageIndex;
var comments = Comment.GetAllSpamComments();
GridViewSpamComment.DataSource = comments;
GridViewSpamComment.DataBind();
}
示例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();
}
示例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();
}
示例11: OnPaging
protected void OnPaging(object sender, GridViewPageEventArgs e)
{
gridInbox.PageIndex = e.NewPageIndex;
//gridInbox.DataBind();
string EmplID = (string)(Session["UserID"]);
PopulateInbox(EmplID);
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}