Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to list all the tables of a sdf database in a listbox.

how can i do it?
i know how to view the data per table but i cannot list all the tables of that particular database.
Posted
Updated 23-Apr-13 16:43pm
v2

1 solution

Cast the connect to System.Data.Common.DbConnection and use DbConnection.GetSchema(String)
[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900