Copy Datasource from one DataTable to another in VB.Net 2005
Posted on 2006-06-02
My Test project includes the following:
"frmBids" = Parent form
"frmBidsDetail" = Child Datagridview
"frmBidImport" = Popup Datagridview with existing data in table "tblBidImport"
I need help on copying the data from "frmBidImport" datatable to the Child Datagridview "frmBidsDetail" datatable and updating to the database.
I have tried this several different ways. I get the data to the Child Datagridview OK, but I can't get the Child to synchronize with the Parent for updating.
I find that if I key the data into the Child Datagridview, the Parent/Child relationship works fine.
But if the data is imported direct to the Child database table the Child will not update with the Parent.
A simple walkthrough would sure help as I am a beginner.