parent/child tables and bindingsources
-
Hallo I have two tables, let's say one Customers and one Orders, joined by CustomerID. I represented each one by a datatable of its own in a dataset, and I created a DataRelation. I would like to use them as datasource for one single BindingSource: is it possible?
-
Hallo I have two tables, let's say one Customers and one Orders, joined by CustomerID. I represented each one by a datatable of its own in a dataset, and I created a DataRelation. I would like to use them as datasource for one single BindingSource: is it possible?
I suppose it depends on the control. DataGrid(View)s can do that sort of thing, but it's generally not a good thing to use. I prefer a TreeView. What would you want the control to do?
-
I suppose it depends on the control. DataGrid(View)s can do that sort of thing, but it's generally not a good thing to use. I prefer a TreeView. What would you want the control to do?
Hallo, thanks for reply. The control will display data from the bindingsource and permit editing. I'm currently using a dgv, but I'm actually aiming to use a treeview to list data informations, and a form to edit each single entry. My main question is still: could a bindingsource be bound to a couple of joined tables?
-
Hallo, thanks for reply. The control will display data from the bindingsource and permit editing. I'm currently using a dgv, but I'm actually aiming to use a treeview to list data informations, and a form to edit each single entry. My main question is still: could a bindingsource be bound to a couple of joined tables?
My main response is still: it depends on the control.