S
Scott D
I have a third party application that has a SQL database I am trying
to work with this in my code but the database name has a space in it
so when I try the following connection string:
Dim connString As String = "server=10.0.0.1;uid=sa;pwd=;Initial
Catalog=Third Party"
I assume it is cutting the name off at "Third". I have no control
over the databases name otherwise I would just have named it correctly
with no spaces. I have tried using single quotes surrounding the name
but that did not seem to help. Any suggestions?
to work with this in my code but the database name has a space in it
so when I try the following connection string:
Dim connString As String = "server=10.0.0.1;uid=sa;pwd=;Initial
Catalog=Third Party"
I assume it is cutting the name off at "Third". I have no control
over the databases name otherwise I would just have named it correctly
with no spaces. I have tried using single quotes surrounding the name
but that did not seem to help. Any suggestions?