zendog1960
Member
- Joined
- Jan 9, 2008
- Messages
- 19
- Programming Experience
- Beginner
I am using VS 2008 VB.net Framework 3.5 creating a winform application.
I have one form (Form1), 1 combobox (ComboBox1), and 1 textbox (TextBox1)
I have two tables (Players, Teams) in my local database which was created within the project.
In Table 'Teams' I only have two columns (TeamID - Primary Key, TeamName)
In Table 'Players' I have three columns (PlayerID - Primary Key, FName, LName)
Each table has two records in it.
I have one data set (TestDataSet) that includes all the columns from the two above mentioned tables.
What I need to find out is how do have get the textbox to populate with the corresponding team for whatever player is selected in the combobox. Any and all help would be appreciated.
Zen
I have one form (Form1), 1 combobox (ComboBox1), and 1 textbox (TextBox1)
I have two tables (Players, Teams) in my local database which was created within the project.
In Table 'Teams' I only have two columns (TeamID - Primary Key, TeamName)
In Table 'Players' I have three columns (PlayerID - Primary Key, FName, LName)
Each table has two records in it.
I have one data set (TestDataSet) that includes all the columns from the two above mentioned tables.
What I need to find out is how do have get the textbox to populate with the corresponding team for whatever player is selected in the combobox. Any and all help would be appreciated.
Zen