Handle the TabControl's SelectedIndexChanged event and assign the appropriate BindingSource to the BindingNavigator's property. How you identify the appropriate BindingSource is up to you, but the easiest way would be to assign it to the Tag property of the TabPage when you create it. Then the code would be:VB Code:
myBindingNavigator.BindingSource = DirectCast(myTabControl.SelectedTab.Tag, BindingSource)




Reply With Quote