raleon18
asked on
Binding data to a tab control
Good Morning...
I have a form (myFrm) and a tabcontrol (MyTabCtrl) with 5 tab pages (MyTabPage1, MyTabPage2, MyTabPage3, MyTabPage4, MyTabPage5). The form is a combobox outside of the tabcontrol. In regards to data, I have a dataset that feeds the combobox. each tabpage presents different information from different tables. what I want is that each tabpage be bound to different tables?
I have a form (myFrm) and a tabcontrol (MyTabCtrl) with 5 tab pages (MyTabPage1, MyTabPage2, MyTabPage3, MyTabPage4, MyTabPage5). The form is a combobox outside of the tabcontrol. In regards to data, I have a dataset that feeds the combobox. each tabpage presents different information from different tables. what I want is that each tabpage be bound to different tables?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
What is the combobox about? You can use SelectedIndexChanged event to find out which tab page is selected and populate it accordingly.
ASKER