I am dealing with a problem i cannot solve by myself. I also tried to find out a solution on the net, without success.
Here the details ...
Its about a complex data binding (in this case , 3 database tables).
Here the tables i have (abstraction), trying to modelate a Users/Groups association
Table 1 - tblUsers
------------------------------
field1: Id
field2: Username
field3: Password
Table 2 - tblGroups
------------------------------
field1: Id
field2: GroupName
field3: Description
Table 3 - tblUsers_Groups
------------------------------
field1: Id
field2: Id_tblUsers
field3: Id_tblGroups
This way a single user can belong to multiples groups (and vice)
I have been trying to create a WinForm, like the Master - Detail kind, where the Master Grid should show the Users in tblUsers, and ... according to what I select there, show in the Details Grid, the groups the users selected belongs to ... but using the info in tblGroups
Could someone please give me a hand on this problem?