HighTechTalks DotNet Forums  

problem with displaying tables

Dotnet Framework (ODBC.net) microsoft.public.dotnet.framework.odbcnet


Discuss problem with displaying tables in the Dotnet Framework (ODBC.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Hovhannes Asatryan
 
Posts: n/a

Default problem with displaying tables - 12-06-2004 , 09:26 AM






Hi all.
I am developing in VS.NET C#.
I have connected to access with ODBC driver,
and want to display the list of the tables in database file (xxx.mdb).
can anyone tell me is it possible, if yes how?

thanks.



Reply With Quote
  #2  
Old   
Paul Clement
 
Posts: n/a

Default Re: problem with displaying tables - 12-06-2004 , 10:16 AM






On Mon, 6 Dec 2004 18:26:15 +0400, "Hovhannes Asatryan" <hovhannes_asatryan (AT) epygilab (DOT) am> wrote:

¤ Hi all.
¤ I am developing in VS.NET C#.
¤ I have connected to access with ODBC driver,
¤ and want to display the list of the tables in database file (xxx.mdb).
¤ can anyone tell me is it possible, if yes how?

Can you use Jet OLEDB instead of ODBC? If so you can use GetOleDbSchemaTable. Otherwise, with ODBC,
you will have to query a Microsoft Access system table which I don't recommend.

The below example uses SQL Server but you can change the connection string to Access and Jet OLEDB.

How To Retrieve Schema Information by Using GetOleDbSchemaTable and Visual C# .NET
http://support.microsoft.com/default...b;en-us;309681


Paul ~~~ pclement (AT) ameritech (DOT) net
Microsoft MVP (Visual Basic)

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.