Why do I get error message "NewPageIndex is not a member of "System.EventArgs"."?
am using C# Code in gridview i need answer help me
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
Ramu22 reputationPosted Sep 11, 2014, 12:37 AM EDT
I got a answer
protected void GridAdd_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GetData();
GridAdd.PageIndex = e.NewPageIndex;
GridAdd.DataBind();
}
add to GridViewPageEventArgs e