U
Uri Dor
Hi, everyone,
I just want to be sure that the solution I've found makes sense to you
all and that I'm not ignoring some simpler solution.
Problem 1 is that as developers we want one connection string (to
connect to our development SQL Server or to MSDE) and when the app is
deployed we want another.
The solution for this is the app.config file.
Problem 2 is that as we are several developers in the same team, we each
want to connect to a different database. And we want to use that
database when working with the designer (adding SqlConnections, etc.),
in which case the app.config file is ignored.
The solution for this is using MSDE, giving a constant name to the
database and specifying "127.0.0.1" as the data source.
Does this make sense? Any other ideas?
It seems to work, anyway.
Thx,
Uri
I just want to be sure that the solution I've found makes sense to you
all and that I'm not ignoring some simpler solution.
Problem 1 is that as developers we want one connection string (to
connect to our development SQL Server or to MSDE) and when the app is
deployed we want another.
The solution for this is the app.config file.
Problem 2 is that as we are several developers in the same team, we each
want to connect to a different database. And we want to use that
database when working with the designer (adding SqlConnections, etc.),
in which case the app.config file is ignored.
The solution for this is using MSDE, giving a constant name to the
database and specifying "127.0.0.1" as the data source.
Does this make sense? Any other ideas?
It seems to work, anyway.
Thx,
Uri