I irshad Aug 7, 2003 #1 Hello All I need to connect to SQL-Server thro VB.Net thro Used Id and Pwd...? Thanks
H Herfried K. Wagner [MVP] Aug 7, 2003 #2 Hello, irshad said: I need to connect to SQL-Server thro VB.Net thro Used Id and Pwd...? Click to expand... http://www.connectionstrings.com/ -> "SQL Server" HTH, Herfried K. Wagner
Hello, irshad said: I need to connect to SQL-Server thro VB.Net thro Used Id and Pwd...? Click to expand... http://www.connectionstrings.com/ -> "SQL Server" HTH, Herfried K. Wagner
H Herfried K. Wagner [MVP] Aug 7, 2003 #3 Hello, Irshad said: Dim sConnectionString As String _ = "Data Source=STLABCSQL06;Initial Click to expand... Maybe ppl in the .NET+database ng can help you: news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet HTH, Herfried K. Wagner
Hello, Irshad said: Dim sConnectionString As String _ = "Data Source=STLABCSQL06;Initial Click to expand... Maybe ppl in the .NET+database ng can help you: news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet HTH, Herfried K. Wagner
J Joe White Aug 8, 2003 #4 oSQLConn.ConnectionString = "sConnectionString" This line is your problem. You're setting the connection string to the string literal "sConnectionString", so the error is perfectly correct. This line *should* be (note the lack of quotes): oSQLConn.ConnectionString = sConnectionString
oSQLConn.ConnectionString = "sConnectionString" This line is your problem. You're setting the connection string to the string literal "sConnectionString", so the error is perfectly correct. This line *should* be (note the lack of quotes): oSQLConn.ConnectionString = sConnectionString