How can I load all tables into a dataset?

  • Thread starter Thread starter Henry Xiang
  • Start date Start date
H

Henry Xiang

Hi everyone,

I want to analysis a database's schema and get all data from it.
So I need to load the DB's all tables into a dataset, and I don't know there
are how many tables in it.
what should I do? or there is any other way?

thanks advance.
 
Hi Henry,

There is OleDbConneciton.GetOleDbSchema method that you might find useful.
 

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

Back
Top