Hand connectionstring over instead of web.config
Posted: Fri 20 Feb 2009 15:55
Hi,
I have an ASP.Net projewct with a DataContext created with dotConnect.
The created class autom. fetches its connection info out of the web.config where it looks like this:
How can I set the connection string programmatically in Visual Basic?
If I copy that string into a String variable I get an error. Even if I replace the " with chr(34).
Thanks!
I have an ASP.Net projewct with a DataContext created with dotConnect.
The created class autom. fetches its connection info out of the web.config where it looks like this:
Code: Select all
If I copy that string into a String variable I get an error. Even if I replace the " with chr(34).
Thanks!