According to your description, as far as i know, you want to show paging with previous and next button in formview control, I found a official document about how to implement it in asp.net, please check:
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
22 Points
112 Posts
formview paging
Mar 16, 2017 09:47 AM|arwa55|LINK
good day
ive a form view and i would like the button of previous and next to be positioned on the left and right
how can i do that
Contributor
2155 Points
2142 Posts
Re: formview paging
Mar 16, 2017 07:41 PM|march11|LINK
Here are some good links to review....
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/data-access/custom-button-actions/adding-and-responding-to-buttons-to-a-gridview-cs
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/data-access/custom-formatting/using-the-formview-s-templates-vb
https://www.w3schools.com/html/html_forms.asp
https://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/formview.aspx
Contributor
6730 Points
2715 Posts
Re: formview paging
Mar 17, 2017 05:28 AM|Eric Du|LINK
Hi arwa55,
According to your description, as far as i know, you want to show paging with previous and next button in formview control, I found a official document about how to implement it in asp.net, please check:
Paging in a FormView Web Server Control:
https://msdn.microsoft.com/en-us/library/ms227443.aspx
FormView.AllowPaging Property:
https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formview.allowpaging(v=vs.110).aspx
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
22 Points
112 Posts
Re: formview paging
Mar 21, 2017 11:50 AM|arwa55|LINK
this is how i did it and it worked perfectly