In this asp.net post we learn how to change DetailsView control Pager Text in ASP.Net C#.
Design the ASP.Net web form with one Button Control and one DetailsView control in ASP.Net.
First set AllowPaging =True of DetailsView control.
Now, Set DetailsView control Mode property = NextPreviousFirstLast.
Write the Below server code in Button Click event.
protected void btnSave_Click(object sender, EventArgs e)
{
DetailsView1.PagerSettings.FirstPageText = “First”;
DetailsView1.PagerSettings.NextPageText = “Next”;
DetailsView1.PagerSettings.PreviousPageText = “Previous”;
DetailsView1.PagerSettings.LastPageText = “Last”;
}
I hope this DetailsView control Change Pager Text in ASP.Net will help you..