J
Jerry Camel
I know there's got to be a way to do this, and it's probably easy, but I
need some help...
I have a VB.NET /ASP.NET application that works just fine. Built it and
tested against a development database. It's time to move it into
production. But the DB folks keep separate environments for Dev and
production and use different naming conventions in each. So now I have to
change the code and recompile with the new db instance and db name, etc.
Is there a place I can store the db name so that I can edit it and just
restart the app and not have to recompile the code modules?
Maybe in Web.config or something? And if so, how do I access the info at
run time? Thanks.
Jerry
need some help...
I have a VB.NET /ASP.NET application that works just fine. Built it and
tested against a development database. It's time to move it into
production. But the DB folks keep separate environments for Dev and
production and use different naming conventions in each. So now I have to
change the code and recompile with the new db instance and db name, etc.
Is there a place I can store the db name so that I can edit it and just
restart the app and not have to recompile the code modules?
Maybe in Web.config or something? And if so, how do I access the info at
run time? Thanks.
Jerry