Datasource Practices - ASP.NET connecstring
Posted on 2004-10-04
i have a db connection like this
then connecstring of
Me.pvtConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "User ID=" & Me.username& ";" _
& "Data Source=" & Me.dbpath& ";" _
& "Jet OLEDB:Database Password=" & Me.password& ";"
Before, when i run asp (developed using dreamweaver), i could just change the dbpath to sumthing else.
Now, i have converted it to VB.net asp project.
now i cant change the DBpath anymore, i have to recompile and deploy it back to the server.
How do you guys do it?