Asp.net 在数据库中插入嵌入代码?

Asp.net 在数据库中插入嵌入代码?,asp.net,Asp.net,在我的应用程序中,我试图将嵌入的(视频)插入数据库,但它给出了这样的错误。我正在使用存储过程进行插入 Server Error in '/embeded' Application. A potentially dangerous Request.Form value was detected from the client (txtEmbed=" <object width="150" ..."). Description: Request Validation has detected

在我的应用程序中,我试图将嵌入的(视频)插入数据库,但它给出了这样的错误。我正在使用存储过程进行插入

Server Error in '/embeded' Application.
A potentially dangerous Request.Form value was detected from the client (txtEmbed=" <object width="150" ...").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (txtEmbed=" <object width="150" ...").
“/embedded”应用程序中出现服务器错误。 潜在危险的请求。从客户端检测到表单值(txtEmbed=“

看起来你甚至连基本的搜索都没做:


将嵌入的代码存储在数据库中是一个好的过程,还是有不同的过程