By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,648 Members | 1,634 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,648 IT Pros & Developers. It's quick & easy.

How to create a dataset from access database at runtime

P: 1
I want to create a dataset at runtime from an access database (or another database) but at designtime I don't know the structure.

Ideally what I want to do is:

Expand|Select|Wrap|Line Numbers
  1. Dim ds as new DataSet = OpenAccessDB("MyAccessDB.mdb")
  2.  
or

Expand|Select|Wrap|Line Numbers
  1. Dim ds as new DataSet = OpenDB("MyConnectString")
  2.  

At the moment I only want to read in the database, but the ability to save the dataset back to another database would be cool!
Nov 4 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.