[Show all top banners]

East Coast
Replies to this thread:

More by East Coast
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 C# MS Access Help
[VIEWED 1244 TIMES]
SAVE! for ease of future access.
Posted on 11-04-06 8:25 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hi Guys,

I need to get all the tables in a MS Access database using C#. Do you know any class or functions in C# that will return me all the tables when I give it the name of the MS Access Databse.
 
Posted on 11-04-06 8:31 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Just use the jet driver after that everything is just using the SQL query

http://www.csharphelp.com/archives/archive70.html

here is a link you can refer too, if you have visual studio 2005 then this thing can be done in a matter of couple of min....
 
Posted on 11-04-06 9:35 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Thanks Cyberdude,

I got what I wanted.... I had to use the DataTable class and GetOleDbSchemaTable function from the OleDbConnection.
 
Posted on 11-04-06 10:42 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

You are welcome, i would try using mssql 2005 express edition rather than MS ACCESS, its just better and yes the MSSQL 2005 Express is free
 
Posted on 11-04-06 11:56 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Well, the place I work uses MS Access... that's why..
Thank you again
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
nrn citizenship
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
Travelling to Nepal - TPS AP- PASSPORT
emergency donation needed
ढ्याउ गर्दा दसैँको खसी गनाउच
मन भित्र को पत्रै पत्र!
Morning dharahara
Guess how many vaccines a one year old baby is given
जाडो, बा र म……
lost $3500 on penny stocks !!!
Susta Susta Degree Maile REMIXED version
Elderly parents travelling to US (any suggestions besides Special Assistance)?
TPS Reregistration and EAD Approval Timeline.......
Changing job after i-140 approval
कल्लाई मुर्ख भन्या ?
1974 AD Pinjadako Suga Remixed
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters