Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting table names
Message
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00615146
Message ID:
00615698
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform