Binding Navigator value

MarceeMarc

Member
Joined
Dec 8, 2013
Messages
7
Programming Experience
Beginner
Hi all,
Having created an order viewer with a view to creating invoice reports for the Northwind database, I have encountered an issue. When the Binding Navigator was instantiated, it was automatically set to move through the product list. I wish it to navigate using the OrderID value. Can I change a property to make the binding navigator do this?
Many thanks,
MarceeMarc
 
Last edited:

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,717
Location
Sydney, Australia
Programming Experience
10+
A BindingNavigator is basically a UI for a BindingSource. If you want to navigate different data then assign a different BindingSource to the BindingSource property of the BindingNavigator. Of course, the BindingSource that you assign has to be bound to the data that you want to navigate in the first place.
 

MarceeMarc

Member
Joined
Dec 8, 2013
Messages
7
Programming Experience
Beginner
Many thanks. That is useful information, but my issue was actually more straight forward than I thought. My stored procedure didn't return the number of rows I thought it should, but I now know why. It's all very new to me!
Cheers!
 
Top Bottom