Hello all,
I've been working for a few months on a project in order to teach myself how to use VB. I downloaded 2010 Express and have been making great progress, but now I am stumped.
I have 2 sets of comboboxes, one of 3 and one of 5. The set of three are each databound to the same table of my database each with a different bindingsource. The set of five is databound to a different table of the same database, each with a different bindingsource. I selected a column for the display member (which happens to be the same name on both tables) which populates the dropdown list for each combobox. This way, you can select three list items from one table (the first set) and five from the other table (the second set). I ran my de-bug and everything worked perfectly.
I moved on to another form, setting up some printing functions that were directly involved with the selected items in the comboboxes. Set that up without a problem. Now, however, when I de-bug the program, the second set of comboboxes has nothing listed in the dropdown. I assumed it was something I recently added, so I removed my most recent additions. Still nothing. I removed the table adapter and binding sources, made a new table adapter and re-bound the comboboxes. Nothing. I can use the binding sources from any other table and they work fine, but this one table on this one form refuses to populate the comboboxes. The SQL query shows that the table adapter and the binding source both have all of the data I need in them, so what gives?
Is there someway I can completely remove this table adapter and start from scratch? Or is there another way to work around this?
I've been working for a few months on a project in order to teach myself how to use VB. I downloaded 2010 Express and have been making great progress, but now I am stumped.
I have 2 sets of comboboxes, one of 3 and one of 5. The set of three are each databound to the same table of my database each with a different bindingsource. The set of five is databound to a different table of the same database, each with a different bindingsource. I selected a column for the display member (which happens to be the same name on both tables) which populates the dropdown list for each combobox. This way, you can select three list items from one table (the first set) and five from the other table (the second set). I ran my de-bug and everything worked perfectly.
I moved on to another form, setting up some printing functions that were directly involved with the selected items in the comboboxes. Set that up without a problem. Now, however, when I de-bug the program, the second set of comboboxes has nothing listed in the dropdown. I assumed it was something I recently added, so I removed my most recent additions. Still nothing. I removed the table adapter and binding sources, made a new table adapter and re-bound the comboboxes. Nothing. I can use the binding sources from any other table and they work fine, but this one table on this one form refuses to populate the comboboxes. The SQL query shows that the table adapter and the binding source both have all of the data I need in them, so what gives?
Is there someway I can completely remove this table adapter and start from scratch? Or is there another way to work around this?