A potentially dangerous Request.Form value was detected from the client

1、页面上添加validateRequest="false";

2、web.config 添加<httpRuntime requestValidationMode="2.0" />

原文地址:https://www.cnblogs.com/dbasys/p/3156067.html