Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# / .NET: Move to desired Item in BindingNavigator

I'm using such a BindingNavigator to let the User move through Data Records of a BindingSource. How can I change the displayed page to a desired page number through the program?

I already set the PositionItem to the desired page number, but that just changes the displayed page number and doesnt move to this page.

I'm sure it's not difficult, but I'm searching the solution for quite a hour now. So I'm asking u guys now...

like image 446
OneWorld Avatar asked Aug 29 '10 14:08

OneWorld


1 Answers

In code, you do not navigate using the BindingNavigator.

Use the Find, MoveXxx and Position members of the BindingSource.

like image 162
Henk Holterman Avatar answered Sep 20 '22 23:09

Henk Holterman