D
Developer
Hello,
When this code executes:
if (dbConnection.State != ConnectionState.Open)
{
dbConnection.Open(); /* 1 */
return (true); /* 2 */
}
At 1, dbConnection.ConnectionString is "DSN=Grace SQL
Server;Uid=iron;Pwd=fillings;"
At 2, after the call to Open(), the connection string is "DSN=Grace SQL
Server;Uid=iron;"
Why is that, and is it preventable?
Thanks.
CB
When this code executes:
if (dbConnection.State != ConnectionState.Open)
{
dbConnection.Open(); /* 1 */
return (true); /* 2 */
}
At 1, dbConnection.ConnectionString is "DSN=Grace SQL
Server;Uid=iron;Pwd=fillings;"
At 2, after the call to Open(), the connection string is "DSN=Grace SQL
Server;Uid=iron;"
Why is that, and is it preventable?
Thanks.
CB