To define Place Base of Data

As I can change the place of the Base of data through code when the option is used Data, Add New Data Source... for instance of Nwind.mdb
[137 byte] By [ARSOFTInformática] at [2007-12-17]
# 1
Can you rephrase the question? I'm not clear on what exactly you are asking?

Thanks,
Luke Hoban
Visual C# IDE Program Manager

LukeHoban at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2
Luke Hoban wrote:
Can you rephrase the question? I'm not clear on what exactly you are asking?

Thanks,
Luke Hoban
Visual C# IDE Program Manager

I think it means a thing like that:
"If I set a DataBase connection at startup [i.e.], can I change the DataBase path, inside DataBase connection, in another moment of the execution by code?"
But I'm not sure if my interpretation is correct.
I think it is possible, you simple create a new connection to a DataBase and you use the new connection Smile.

GiacomoSucci at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 3
I have tried to change the database path to have database outside of the project because the database I am using is an existing one that I can't move, the obvious solution is to create a new connection to the database with the new path... but it does'nt work: The database explorer shows the new connection, but this doesn't change anything: the program is still accessing the copy of the database that is in the project.
I have tried also to chage the path in the database file properties but it is read-only..

What can I do ?

fpalang at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...