DataGridView binding to another control
I have a problem databinding my child DataGridView to my master DataGridView. When I simply add two DataGridView's then its no problem, I can select a record on the master table and get the child records in the other DataGridView.
But now I like to have my child DataGridView in another control, so that I can add buttons etc. and that i can simpy attach the control to my panels. Since I did this I get no records on the child DataGridView.
How can I solve this problem?
Ok i found the problem. The problem was that I received the data from my webservice wrong. I did this:
dataset = webservice.getData()
Now i do this:
dataset.clear()
dataset.merge(webservice.getData())
Sorry for this stupid fault of me.