C# 如何编写包含“的密码”&&引用;在app.config中
如何在app.config中写入包含“&”的密码C# 如何编写包含“的密码”&&引用;在app.config中,c#,app-config,C#,App Config,如何在app.config中写入包含“&”的密码 <add connectionString="Data Source=x.x.x.x;Initial Catalog=Testing002;User Id=hello;Password=&a:;" name="ConString"/> 使用&而不是&仍然是相同的错误,错误是什么difference@ControlPoly:不同之处在于&是在XML文件中编码&的方式。
<add connectionString="Data Source=x.x.x.x;Initial Catalog=Testing002;User Id=hello;Password=&a:;" name="ConString"/>
使用&代码>而不是&
仍然是相同的错误,错误是什么difference@ControlPoly:不同之处在于&
是在XML文件中编码&
的方式。