Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI,I have found one issue for login where password missing.I found below from link
OdbcConnection.ConnectionString Property (System.Data.Odbc)[^]

The .NET Framework Data Provider for ODBC does not support the Persist Security Info keyword that is supported by other .NET Framework data providers. However, the ConnectionString property behaves as if Persist Security Info were set to false. This means that you cannot retrieve the password from the ConnectionString property if the connection has been opened. When the ConnectionString property is read from an OdbcConnection object that has been opened, the connection string is returned minus the password. You cannot change this behavior; therefore, if the application requires the password, store it separately before calling Open.


can you please specified what actually it says in details with example?

What I have tried:

find out the google link but still not understand
Posted
Updated 7-Mar-18 23:06pm

1 solution

If you woould like to connect to Sql Server, try this: SQL Server connection strings - ConnectionStrings.com[^] within SqlConnection class[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900