Data design question for windows form application

  • Thread starter Thread starter guyinkalamazoo3
  • Start date Start date
G

guyinkalamazoo3

Guest
I am designing a Windows Form application for CRUD data use and it is going good, except now we have a set of data that needs to be displayed and worked with and I am not sure which control to use. I have been using List Box controls bound to SQL data for most of the form and subforms and it is working great. Now we have a Tab for Services. The primary selection is a "Class" selection. So it displays four selections - CLASS A, CLASS B, CLASS C, CLASS D. Associated with these Classes are services. We have a static data table with 43 distinct services, but not all services might be with each class. What I ideally would like to do is to have the end user select the class and then have a ComboListBox fill in ALL the 43 services, but only have those services that the class subscribes to to have a checkmark and even possibly be presented in BOLD. If the end user is updating this data they will be able to check or uncheck the different services that are subscribed to by that class (if there is a change).

So, is it possible to do this? I know it is easy to present ALL the 43 services in the comboboxlist, but how might I go back and get those records that a class is subbed to and then also iterate through the original list and do checkmarks and bolding? Or is there another control where this might be easier?

Or I might look into doing a drag and drop with two listboxes like here: http://www.codeproject.com/Articles/5883/Two-ListBoxes-Drag-and-Drop-Example

Thanks



Brad Allison

Continue reading...
 

Similar threads

T
Replies
0
Views
567
This_display_name_is_already_in_use_They_all_are
T
Back
Top