Last post Jun 21, 2007 01:49 PM by bmains
Jun 21, 2007 01:11 PM|bmains|LINK
I have to piece together my connection string; however, I was still hoping to make use of the DAAB to connect to the database. The reason I have to dynamically generate it is because the name of the database will change (loading data in from many databases)
and putting all of the connection strings in manually will not work for my purposes. Anyone know if it is possible and how?
Jun 21, 2007 01:29 PM|iuliax|LINK
string conn = "Initial Catalog =..."+"...";
SqlConnection myConn = new SqlConnection(conn);
Jun 21, 2007 01:49 PM|bmains|LINK
That's not using the DAAB.