المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Multiple data sources with the same name in different directorys? [modified]



C# Programming
07-25-2009, 06:11 AM
Hello,
I am new to C# and I writing an application that uses an Access database. It works fine I can do almost everything I need to do with that database. The database represents one object, lets say "House" for example. The tables represent the different rooms in the house. The items in each room fill the cells in the table.

The problem I am having is that there are several databases "houses", each in their own directory. They each have the same file name. The databases identical except for the data. I want to be able to switch back and forth through them. How can I programatically switch from one Access database in folder A to another Access database in folder B? "House" database name and "Room" tables are just an example.

Any and all help would be greatly appreciated.
Thank you
Kio

modified on Friday, July 24, 2009 9:42 PM