Using System.Data.OleDB;
how to retrieve all the table names of any database server
ex : oracle (scott/tiger) ?
I want to retrieve all the table names of (scott/tiger) using one combobox on the form.
Pl. if anybody could suggest me how to do this in C#.NET ?
How to retrieve all the table names of any database server
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ashish SinghalRank #785 · 2.9K reputationPosted Nov 8, 2005, 10:58 AM EST
http://www.csharpcorner.com/UploadFile/Ashish1/oracleTables11082005154730PM/oracleTables.aspx?ArticleID=3d9d8662-9e53-45c4-ad13-df59ee5d0603
Rahul Goel18 reputationPosted Nov 20, 2005, 6:48 PM EST
If you are looking 4 SQL Server 2000/2005 query then
you can fetch all of the tables from the current database by executing the mentioned query
select * from sysobjects where type='u'
This table is having all information reg the current database.
Hope you got your solution
rahu_ketu
Andrzej WegierskiRank #1,729 · 877 reputationPosted Nov 22, 2005, 12:34 AM EST