Setting Connection String

Posts   
 
    
Anthony
User
Posts: 155
Joined: 04-Oct-2006
# Posted on: 29-Apr-2009 14:17:56   

llblgen 2.6,adapter,sql server,vb.net

Have two databases with the sames schema but difference database names on the same server.

want to do some queries on the databases and have been doing this by

Dim oAdapter As New DataAccessAdapter(DBSTring)

where DBSTring is the connectionstring.

This doesn't appear to work...the DAL was created using DBA

When i try to run a query on DBB using the connectrion string for DBB, the queries appears to be still querying DBA!

Please help?

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 29-Apr-2009 14:33:18