I'm just learning C# for this huge project at work, so bear with me. This application takes ticket numbers from the user and displays the ticket information in the form. Simple enough. I'm having an issue though with the comboboxes.
Since I want users to be able to update the tickets (and this works, so far except on these stupid boxes), the comboboxes should display the data from the specific ticket as the selected item, but ALSO have a dropdown list of all the possible values for that combobox. For this example we'll use the "Site Name" combobox, which is combobox55 on my form.
The first part, displaying the data from the ticket, works fine. The second part, displaying a list of all possible data, does not.
In the "Combobox Tasks" window in VS2005 I have as the Datasource the "Sitename" datasource, and the display and value member boxes both are set to "site." (which I have configured and tested, selecting "Preview data" shows all the site names.) The Selected Item box has the table row that corresponds to the Site Name coming from the ticket database.
However when I type in the ticket number, the box is populated only with the Site name for that ticket, and nothing else.
I have tried the "Add query" dialog, but all it does is add a toolstrip to the top of my window? I'm not sure how that works.
Thanks,
Mike