This is probably an easy question for you all, but being the neophyte that I am, I'm having some problems getting this to work.
The end result of what I'm trying to do is populate a 2nd combo box based upon the choice of the 1st combo box. Both combo boxes grab data from two different tables.
So here's where I'm at.
When the form loads, I've populated the first combo box with the data I want from the correct table in the DB. Where I'm getting stuck is populating the 2nd combo box based upon the choice of the 1st combo box.
Here it is in a little more detail. I've got a Customer and a Show table. The Customer data is loaded into the 1st combo box when the form loads from a view I've created in SQLE 2k5. This is, of course, the data source. The display member and value member is the company name and ID, respectively.
Now, I've written a stored procedure to get the Show info based upon the ID of the Company. So my problem here is actually two-fold I suppose.
1) How do I go about hooking all the adapters and binding sources for these tables and combo boxes to 'talk' to each other
2) How do I pass the Company ID parameter into those bindings so the stored procedure can execute properly in that 2nd combo box