Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting table names
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00615146
Message ID:
00615698
Vues:
22
>I need to get a listing of table names that coorespond to a SQL Server or Visual FoxPro database in .NET. I can't find any function that will give me this information. Any ideas?

Checkout this namespace System.Data.OleDb.OleDbSchemaGuid. It has a Tables member:
"Returns the tables (including views) defined in the catalog that are accessible to a given user."

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataoledboledbschemaguidmemberstopic.asp

-Dave
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform