ASP.Net ---> Accessing Password Through conn.ConnectionString SQL Server ASP.Net

Your Rating: not set

 
Using the following code a connection to the database can be made by retrieving the connection string information from the web.config.



However, if in the web.config if the connection string doesn't include "Integrated Security=True" the password will not be retrievable. Make sure to include the "Integrated Security=True" on your connection string to SQL Server. The following is a connection string with "Integrated Security=True".

     


UserName: Daniel
Date Joined: 12/16/2010

WebsiteURL: http://www.justaboutdaniel.com
Bio: I am a full time web developer, son, and friend to many. For more read my about me located here.


Name:
Email:
Website URL:
Comments:
 
Note:



Anonymous 9/29/2011 12:26:33 PM

levitra 914 cheapest car insurance 9860 viagra fapbp cheap auto insurance cbj



Daniel 8/5/2011 6:44:20 AM

Thanks everyone, I'm glad I could help.



Anonymous 7/27/2011 5:02:26 AM

What a great rseoucre this text is.



Anonymous 7/27/2011 2:54:08 AM

Wowza, problem solved like it never hapepend.



Anonymous 7/26/2011 10:41:25 PM

Hey, that's porewful. Thanks for the news.



Coming soon!

13

Skip Navigation Links.

Users

ads and stuff