Groups | Blog | Home
all groups > dotnet odbc.net > december 2004 >

dotnet odbc.net : problem with displaying tables


Paul Clement
12/6/2004 9:16:27 AM
[quoted text, click to view]

¤ 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.aspx?scid=kb;en-us;309681


Paul ~~~ pclement@ameritech.net
Hovhannes Asatryan
12/6/2004 6:26:15 PM
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.

AddThis Social Bookmark Button