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.
 
Back
Top