Hello,
I am using Microsoft Enterprise Library, on a class, to connect to a database as follows:
Dim db As Database = DatabaseFactory.CreateDatabase("DatabaseName")
However, I would like the database name to be dynamic, i.e., specified on the web site.
Can I define a connection string in my web site web.config and then use it to create the database?
Or can I create my own Web.Config group to hold this information?
Thanks,
Miguel