G
Guest
HI
I'm trying to copy schema and data from a dataset to another, using DataSet.Merge method
The 2 dataset are filled by 2 adapters and the sources are 2 mdb database
When i merge datasets, it looks like the destination dataset takes the schema, but after the AcceptChanges method I can't see any change in the MDB database
What i'm missing
Code follows
DataSet1.Merge(DataSet2,true, System.Data.MissingSchemaAction.Add)
OleAdapter.Update(DatSet1,"Bookings")
DataSet1.AcceptChanges()
Thank yo
Fabrizio
I'm trying to copy schema and data from a dataset to another, using DataSet.Merge method
The 2 dataset are filled by 2 adapters and the sources are 2 mdb database
When i merge datasets, it looks like the destination dataset takes the schema, but after the AcceptChanges method I can't see any change in the MDB database
What i'm missing
Code follows
DataSet1.Merge(DataSet2,true, System.Data.MissingSchemaAction.Add)
OleAdapter.Update(DatSet1,"Bookings")
DataSet1.AcceptChanges()
Thank yo
Fabrizio