This question is locked. New answers and comments are not allowed.
Hi, I justo want to change the connection string, (I have two in my web.config), depending of the Request.ServerVariables("HTTP_HOST"). In other words, I need that my web site connects to a certain database depending on the url. The problem is that I am using many OpenAccessDataSource objects, so a solution like: Using dbcontext As New ModeloEntidades("DBConnetion1"), doesn´t work for me.
Regards.