[VIEWED 1244
TIMES]
|
SAVE! for ease of future access.
|
|
|
East Coast
Please log in to subscribe to East Coast's postings.
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.
|
|
|
|
cyberdude
Please log in to subscribe to cyberdude's postings.
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....
|
|
|
East Coast
Please log in to subscribe to East Coast's postings.
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.
|
|
|
cyberdude
Please log in to subscribe to cyberdude's postings.
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
|
|
|
East Coast
Please log in to subscribe to East Coast's postings.
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
|
|