0

How to write a password which contain "&" in app.config

<add connectionString="Data Source=x.x.x.x;Initial Catalog=Testing002;User Id=hello;Password=&a:;" name="ConString"/>
ControlPoly
  • 653
  • 2
  • 10
  • 20

1 Answers1

1

Use &amp; instead of &.

npinti
  • 51,070
  • 5
  • 71
  • 94
Raoul George
  • 2,805
  • 1
  • 20
  • 25