king jia
king jia

Reputation: 712

Windows Form Paging like WebPage

How to do paging in windows form project by showing the total pages? All I search and found is using buttons (previous, next, First, last). What I want is something like the paging in Forum (but it is web).

Example, if I have total 100 rows and 10/page, so I will have 10 pages. The GUI should show (1,2,3,4,5,6....10), which the number is clickable. It doesn't necessary is the link, may can a button as well. Winforms able to do this?

Exist a component to do it ?

Upvotes: 0

Views: 365

Answers (1)

daniele3004
daniele3004

Reputation: 13950

What you want to do, I always do I implement object using the BindingNavigator.

enter image description here

It is generally used to scroll through the records in a DataGrid. Of course, managing the data source and with a bit of code is perfectly suited to paging in the WinForm. Specific components do not know, and also on DevExpress suggest to do so.

I hope I was clear and to the right idea.

Upvotes: 1

Related Questions