Writing a simple parent-child dataform

D

Danny Liberty

Hi,

I have a simple windows form with a few textboxes bound to a table in a
dataset and a datagrid bound to it's child table.
I am trying to perform a very simple task : Programatically add a
record to the child table. Of course I can do this using the Rows
collection and the Add method, but I need the new record to refer to
the one of it's current parent (represented by the form).
Any suggestions would be greatly appreciated.


Danny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top