stay password in connection string

Hi
after connect to SQL database from .NET the password is removed from connection string, what can i do for stay it in connection string?
thank you
[159 byte] By [gibic] at [2008-2-8]
# 1
Use the 'Persist Security Info' keyword and set it to true, for example:

"Persist Security Info=True;User Id=mysuser;Password=mypassword;database=northwind;server=mySQLServer"

DavidM.Kean at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...

SQL Server

Site Classified