Datasource connection string - change in code?

Dycker

Member
Joined
Oct 14, 2004
Messages
6
Programming Experience
10+
Hello,

I have just upgraded to VB2008 (yeah for me).

In a previous app (VB2003) I would set a boolean to true if I was using the SQL server on my notebook and false if I was using the Network SQL server (notebook for design). Then I set my connection string based on this boolean.

I want to do the same in VB2008 and I could easily but then I am not using new features in VB2008.

I am trying then to use the Data Sources and do the same thing but I cannot find how to change the connection string for the Data Sources. The Data Source creates a DBDataset object but alas I see no connection. Is this changeable or am I best to keep using the old method?

Thanks
Gerry
 
Back
Top