Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I set the password that contains quotation mark to a connection string in an ASP.NET application?

Answer:

Password: This"Is"Password

In connection string: This""Is""Password

share|improve this question
    
Make your life easier by changing that password. –  John Gardeniers Apr 15 '10 at 21:53

2 Answers 2

Great resource for Connection Strings

share|improve this answer

Encode it as a

      " 

That's how " are encoded in XML.

Let me know if it works :-)

Here is a link.

http://xml.silmaril.ie/authors/specials/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.