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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
RamuPosted Sep 11, 2014, 4:37 AM
I got a answer
protected void GridAdd_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GetData();
GridAdd.PageIndex = e.NewPageIndex;
GridAdd.DataBind();
}
add to GridViewPageEventArgs e