SteveInBeloit
Well-known member
- Joined
- May 22, 2006
- Messages
- 132
- Programming Experience
- 10+
Hi,
I have a form with two datagridview. I want to add a relation between the two in the dataset so that I can bind the first one to the table, and the second one to the first one based on the relation.
If the relation is set up as a FK in the tables, it is no problem. In the drop down of the second binding source for the datamember property, you can choose the relation.
But I want to add a relation ad design time. I don't see how to add it then so I can have it available to choose in the second binding source.
My Data tab in the toolbox does not have a Relations object.
Any ideas?
Thanks,
Steve
I have a form with two datagridview. I want to add a relation between the two in the dataset so that I can bind the first one to the table, and the second one to the first one based on the relation.
If the relation is set up as a FK in the tables, it is no problem. In the drop down of the second binding source for the datamember property, you can choose the relation.
But I want to add a relation ad design time. I don't see how to add it then so I can have it available to choose in the second binding source.
My Data tab in the toolbox does not have a Relations object.
Any ideas?
Thanks,
Steve
Last edited: