|
-
Oct 21st, 2002, 06:14 AM
#1
Thread Starter
Fanatic Member
Save dataset
I have a dataset which is not tied to a database in any way.
It is created and populated in code.
What i need to know is,
How do I save the contents of this dataset into a table in Access?
I have tried merge but I cant seem to get it to work "i'm an idiot".
Are there any other approaches??
-
Oct 21st, 2002, 12:59 PM
#2
Fanatic Member
Have you invoked .AcceptChanges at any point along the way in creating your dataset? If not then OleDbDataAdapter.Update should push your new records into the Access database, once you have the OleDbDataAdapter correctly associated with the database file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|