解决 A potentially dangerous Request.Form value was detected from the client 错误
错误信息: A potentially dangerous Request.Form value was detected from the client....

1 <configuration> 2 <system.web> 3 <httpRuntime requestValidationMode=“2.0“> <!-- ASP.NET 4.0 以上可能需要添加 --> 4 <pages validateRequest=“false“> 5 </configuration> 6 </system.web>