C
cords911
Hello, I'm having a problem figuring out how to deal with some fairly
simple relations in my C# program. My setup is as follows:
Table "A" has a one-to-many relationship with table "B", and table "C"
also has a one-to-many relationship with table "B".
I have been able to get table "A" and "B" to data-bind beautifully.
However, I would also like to get the data from table "C" that
corresponds to the current record selected in "B"
I tried:
textBox.DataBindings.Add("Text",myDataSet,"A.relationAtoB.relationCtoB.myField");
but it won't let me use the "relationCtoB" because the key is in table
C.
Could someone please help me with this, it doesn't seem like it shoul
be very hard.
simple relations in my C# program. My setup is as follows:
Table "A" has a one-to-many relationship with table "B", and table "C"
also has a one-to-many relationship with table "B".
I have been able to get table "A" and "B" to data-bind beautifully.
However, I would also like to get the data from table "C" that
corresponds to the current record selected in "B"
I tried:
textBox.DataBindings.Add("Text",myDataSet,"A.relationAtoB.relationCtoB.myField");
but it won't let me use the "relationCtoB" because the key is in table
C.
Could someone please help me with this, it doesn't seem like it shoul
be very hard.