F
Flomo Togba Kwele
I have created a dataset containing master/detail tables and used it as
a datasource for a master BindingSource. I created another BindingSource
for the detail table - its datasource is the master BindingSource and
its DataMember is the relationship between the 2 tables.
I laid out 2 DataGridViews. The first grid is bound to the master
bindingsource and the second is bound the the detail bindingsource.
Navigation works just fine. When clicking on the parent rows, the
associated child rows appear in the child grid.
Now I want to break out the columns in the detail rows into individual
controls - textboxes and comboboxes. I set the databindings of the
individual controls to the detail bindingsource and its associated
datamember. When I click on the child rows of the child grid, nothing
appears in the individual controls.
What am I missing here? I've struggled with this problem for quite a
while.
Thanks, Flomo
a datasource for a master BindingSource. I created another BindingSource
for the detail table - its datasource is the master BindingSource and
its DataMember is the relationship between the 2 tables.
I laid out 2 DataGridViews. The first grid is bound to the master
bindingsource and the second is bound the the detail bindingsource.
Navigation works just fine. When clicking on the parent rows, the
associated child rows appear in the child grid.
Now I want to break out the columns in the detail rows into individual
controls - textboxes and comboboxes. I set the databindings of the
individual controls to the detail bindingsource and its associated
datamember. When I click on the child rows of the child grid, nothing
appears in the individual controls.
What am I missing here? I've struggled with this problem for quite a
while.
Thanks, Flomo