Link to home
Create AccountLog in
Avatar of raleon18
raleon18Flag for United States of America

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?
ASKER CERTIFIED SOLUTION
Avatar of Imran Javed Zia
Imran Javed Zia
Flag of Pakistan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of raleon18

ASKER

I am sorry but did not understand what you are saying... do you mean that I selectindexchange and what do i select the combobox result? as in myCombobox_click?
What is the combobox about? You can use SelectedIndexChanged event to find out which tab page is selected and populate it accordingly.